Parser

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

Properties

PropertyTypeVisibilityDescription
_requestprotected
_argumentArrayprotected
_optionArrayprotected
PropertyTypeVisibilityDescription

Methods

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