Parser

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

Properties

PropertyTypeVisibilityDescription
$_requestobjectprotectedinstance of the request class
$_argumentArrayarrayprotectedarray of parsed arguments
$_optionArrayarrayprotectedarray of parsed options
PropertyTypeVisibilityDescription

Methods

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