Parser

  • Namespace: Redaxscript\Console
  • Description: parent class to parse the command line interface
  • Package: Redaxscript
  • Category: Console
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_request\Redaxscript\Requestprotectedinstance of the request class
$_argumentArrayarrayprotectedarray of parsed arguments
$_optionArrayarrayprotectedarray of parsed options
PropertyTypeVisibilityDescription

Properties

MethodVisibilityDescription
__constructpublicconstructor of the class
initpublicinit the class
getArgumentpublicget the value from arguments
getOptionpublicget the value from options
setArgumentpublicset the value to arguments
setOptionpublicset the value to options
_parseArgumentprotectedparse raw argument
_parseOptionprotectedparse raw option
MethodVisibilityDescription