PHP Class Redaxscript\Console\Command\Install

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
_database ( array $optionArray = [] ) : boolean install the database
_module ( array $optionArray = [] ) : boolean install the module

Method Details

_database() protected method

install the database
Since: 3.0.0
protected _database ( array $optionArray = [] ) : boolean
$optionArray array
return boolean

_module() protected method

install the module
Since: 3.0.0
protected _module ( 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