• API
  • -
  • Redaxscript\Console

Console

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

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
initpublicinit the class
__constructpublicconstructor of the class
MethodVisibilityDescription

ConsoleAbstract

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

Properties

PropertyTypeVisibilityDescription
_registryprotected
_requestprotected
_languageprotected
_configprotected
_namespaceArrayprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructpublicconstructor of the class
MethodVisibilityDescription

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