• API
  • -
  • Redaxscript\Console

Console

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

Properties

PropertyTypeVisibilityDescription
$_registryobjectprotectedinstance of the registry class
$_requestobjectprotectedinstance of the request class
$_languageobjectprotectedinstance of the language class
$_configobjectprotectedinstance of the config class
$_namespaceArraystringprotectedarray of command namespaces
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
$_registryobjectprotectedinstance of the registry class
$_requestobjectprotectedinstance of the request class
$_languageobjectprotectedinstance of the language class
$_configobjectprotectedinstance of the config class
$_namespaceArraystringprotectedarray of command namespaces
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
$_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