PHP Класс REBELinBLUE\Deployer\Jobs\QueueDeployment

Наследование: extends Job, implements Illuminate\Contracts\Bus\SelfHandling, use trait Illuminate\Foundation\Bus\DispatchesJobs
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Project $project, Deployment $deployment, array $optional = [] ) QueueDeployment constructor.
handle ( ) Execute the command.

Приватные методы

Метод Описание
buildCommandList ( ) : array Builds up a list of commands to run before/after each stage.
createCommandStep ( integer $stage, Command $command ) Create an instance of DeployStep and a ServerLog entry for each server assigned to the command.
createDeployStep ( integer $stage ) Create an instance of DeployStep and a ServerLog entry for each server which can have code deployed.
setDeploymentStatus ( ) Sets the deployment to pending.

Описание методов

__construct() публичный Метод

QueueDeployment constructor.
public __construct ( Project $project, Deployment $deployment, array $optional = [] )
$project REBELinBLUE\Deployer\Project
$deployment REBELinBLUE\Deployer\Deployment
$optional array

handle() публичный Метод

Execute the command.
public handle ( )