You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
Turn possible to pass a list of jobs on the make:operation and create it
with all necessary "use" and "$this->run()" following the order of jobs
names.
Examples:
./vendor/bin/lucid make:operation DefaultStore Deadline 'App\Domains\Common\Jobs\ValidateStoreJob' 'App\Domains\Common\Jobs\StoreJob'
Generating code below
<?php
namespace App\Services\Deadline\Operations;
use Lucid\Foundation\Operation;
use Illuminate\Http\Request;
use App\Domains\Common\Jobs\ValidateStoreJob;
use App\Domains\Common\Jobs\StoreJob;
class DefaultStoreOperation extends Operation
{
public function handle(Request $request)
{
$this->run(ValidateStoreJob::class);
$this->run(StoreJob::class);
}
}
0 commit comments