Property | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$signature | string | The name and signature of the console command. |
Method | Description | |
---|---|---|
handle ( ) : mixed | Execute the console command. |
Method | Description | |
---|---|---|
backupDatabase ( ) | Backup the database. | |
composerOutdated ( ) : boolean | Check if the composer autoload.php has been updated in the last 10 minutes, if not we assume composer install has not be run recently. | |
hasRunningDeployments ( ) : boolean | Checks if there are any running or pending deployments. | |
nodeOutdated ( ) : boolean | Check if the a .install file in the node_modules folder has been updated in the last 10 minutes, if not we assume npm install has not been run recently as it is touched by "postinstall" | |
restartQueue ( ) | Restarts the queues. | |
restartSocket ( ) | Restarts the socket server. | |
updateConfiguration ( ) | Checks for new configuration values in .env.example and copy them to .env. |
Method | Description | |
---|---|---|
verifyInstalled ( ) : boolean | Ensures that Deployer has actually been installed. |
protected composerOutdated ( ) : boolean | ||
return | boolean |
protected hasRunningDeployments ( ) : boolean | ||
return | boolean |
protected nodeOutdated ( ) : boolean | ||
return | boolean |
protected updateConfiguration ( ) |
protected string $description | ||
return | string |
protected string $signature | ||
return | string |