| 1 | <?php |
||
| 9 | class WorkersManager |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Initialize new create worker command. |
||
| 13 | * |
||
| 14 | * @param string $connection |
||
| 15 | * |
||
| 16 | * @return \Laravel\Forge\Sites\Commands\Workers\CreateWorkerCommand |
||
| 17 | */ |
||
| 18 | public function start(string $connection) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Alias for "start" method. |
||
| 25 | * |
||
| 26 | * @param string $connection |
||
| 27 | * |
||
| 28 | * @return \Laravel\Forge\Sites\Commands\Workers\CreateWorkerCommand |
||
| 29 | */ |
||
| 30 | public function create(string $connection) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Initialize new get worker command. |
||
| 37 | * |
||
| 38 | * @param int $workerId |
||
| 39 | * |
||
| 40 | * @return \Laravel\Forge\Sites\Commands\Workers\GetWorkerCommand |
||
| 41 | */ |
||
| 42 | public function get(int $workerId) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Initialize new list workers command. |
||
| 49 | * |
||
| 50 | * @return \Laravel\Forge\Sites\Commands\Workers\ListWorkersCommand |
||
| 51 | */ |
||
| 52 | public function list() |
||
| 56 | } |
||
| 57 |