PHP Class Redaxscript\Console\Command\Config

Since: 3.0.0
Author: Henry Ruhs
Inheritance: extends CommandAbstract
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_commandArray array array of the command

Public Methods

Method Description
run ( string $mode = null ) : string run the command

Protected Methods

Method Description
_list ( ) : string list the config
_lock ( ) : boolean lock the config
_parse ( array $optionArray = [] ) : boolean parse the config
_set ( array $optionArray = [] ) : boolean set the config

Method Details

_list() protected method

list the config
Since: 3.0.0
protected _list ( ) : string
return string

_lock() protected method

lock the config
Since: 3.0.0
protected _lock ( ) : boolean
return boolean

_parse() protected method

parse the config
Since: 3.0.0
protected _parse ( array $optionArray = [] ) : boolean
$optionArray array
return boolean

_set() protected method

set the config
Since: 3.0.0
protected _set ( array $optionArray = [] ) : boolean
$optionArray array
return boolean

run() public method

run the command
Since: 3.0.0
public run ( string $mode = null ) : string
$mode string name of the mode
return string

Property Details

$_commandArray protected property

array of the command
protected array $_commandArray
return array