PHP Класс App\Jobs\Deploy

Наследование: extends App\Jobs\Job, implements Illuminate\Contracts\Queue\ShouldQueue, use trait Illuminate\Queue\InteractsWithQueue, use trait Illuminate\Queue\SerializesModels
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$deployment
$executable

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

Метод Описание
__construct ( Model $deployment ) : void Create a new job instance.
handle ( App\Repositories\Project\ProjectInterface $projectRepository, App\Repositories\Server\ServerInterface $serverRepository, Symfony\Component\Process\ProcessBuilder $processBuilder, App\Services\Notification\NotifierInterface $notifier, App\Repositories\Setting\SettingInterface $settingRepository ) : void Execute the job.

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

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

Create a new job instance.
public __construct ( Model $deployment ) : void
$deployment Illuminate\Database\Eloquent\Model
Результат void

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

Execute the job.
public handle ( App\Repositories\Project\ProjectInterface $projectRepository, App\Repositories\Server\ServerInterface $serverRepository, Symfony\Component\Process\ProcessBuilder $processBuilder, App\Services\Notification\NotifierInterface $notifier, App\Repositories\Setting\SettingInterface $settingRepository ) : void
$projectRepository App\Repositories\Project\ProjectInterface
$serverRepository App\Repositories\Server\ServerInterface
$processBuilder Symfony\Component\Process\ProcessBuilder
$notifier App\Services\Notification\NotifierInterface
$settingRepository App\Repositories\Setting\SettingInterface
Результат void

Описание свойств

$deployment защищенное свойство

protected $deployment

$executable защищенное свойство

protected $executable