PHP 클래스 App\Jobs\Deploy

상속: extends App\Jobs\Job, implements Illuminate\Contracts\Queue\ShouldQueue, use trait Illuminate\Queue\InteractsWithQueue, use trait Illuminate\Queue\SerializesModels
파일 보기 프로젝트 열기: ngmy/webloyer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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