| 1 | <?php |
||
| 9 | class JobsManager |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Initialize new create job command. |
||
| 13 | * |
||
| 14 | * @param string $command |
||
| 15 | * |
||
| 16 | * @return \Laravel\Forge\Jobs\Commands\CreateJobCommand |
||
| 17 | */ |
||
| 18 | public function schedule(string $command) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Alias for "schedule" method. |
||
| 25 | * |
||
| 26 | * @param string $command |
||
| 27 | * |
||
| 28 | * @return \Laravel\Forge\Jobs\Commands\CreateJobCommand |
||
| 29 | */ |
||
| 30 | public function create(string $command) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Initialize new list jobs command. |
||
| 37 | * |
||
| 38 | * @return \Laravel\Forge\Jobs\Commands\ListJobsCommand |
||
| 39 | */ |
||
| 40 | public function list() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Initialize new get job command. |
||
| 47 | * |
||
| 48 | * @param int $jobId |
||
| 49 | * |
||
| 50 | * @return \Laravel\Forge\Jobs\Commands\GetJobCommand |
||
| 51 | */ |
||
| 52 | public function get(int $jobId) |
||
| 56 | } |
||
| 57 |