Свойство | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$signature | string | The name and signature of the console command. |
Méthode | Description | |
---|---|---|
handle ( ) : mixed | Execute the console command. |
Méthode | 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. |
Méthode | Description | |
---|---|---|
verifyInstalled ( ) : boolean | Ensures that Deployer has actually been installed. |
protected composerOutdated ( ) : boolean | ||
Résultat | boolean |
protected hasRunningDeployments ( ) : boolean | ||
Résultat | boolean |
protected nodeOutdated ( ) : boolean | ||
Résultat | boolean |
protected updateConfiguration ( ) |
protected string $description | ||
Résultat | string |
protected string $signature | ||
Résultat | string |