PHP Class App\Jobs\Rollback

Inheritance: extends App\Jobs\Job, implements Illuminate\Contracts\Queue\ShouldQueue, use trait Illuminate\Queue\InteractsWithQueue, use trait Illuminate\Queue\SerializesModels
Show file Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Property Type Description
$deployment
$executable

Public Methods

Method Description
__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.

Method Details

__construct() public method

Create a new job instance.
public __construct ( Model $deployment ) : void
$deployment Illuminate\Database\Eloquent\Model
return void

handle() public method

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
return void

Property Details

$deployment protected property

protected $deployment

$executable protected property

protected $executable