PHP Class REBELinBLUE\Deployer\Console\Commands\ResetApp

Inheritance: extends UpdateApp
Show file Open project: rebelinblue/deployer

Protected Properties

Property Type Description
$description string The console command description.
$signature string The name and signature of the console command.

Public Methods

Method Description
handle ( ) : mixed Execute the console command.

Protected Methods

Method Description
clearLogs ( ) Removes the log files.
resetDB ( ) Resets the database.

Private Methods

Method Description
verifyNotProduction ( ) : boolean Ensures that the command is running locally and in debugging mode.

Method Details

clearLogs() protected method

Removes the log files.
protected clearLogs ( )

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

resetDB() protected method

Resets the database.
protected resetDB ( )

Property Details

$description protected property

The console command description.
protected string $description
return string

$signature protected property

The name and signature of the console command.
protected string $signature
return string