PHP Class Redaxscript\Console\Command\Backup

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 = [] ) : string backup the database

Method Details

_database() protected method

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

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