PHP Class Redaxscript\Console\Command\Setting

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 settings
_set ( array $optionArray = [] ) : boolean set the setting

Method Details

_list() protected method

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

_set() protected method

set the setting
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