1 | <?php namespace Indatus\Dispatcher; |
||
15 | class BackgroundProcessRunner |
||
16 | { |
||
17 | /** |
||
18 | * @var \Indatus\Dispatcher\Services\CommandService |
||
19 | */ |
||
20 | private $commandService; |
||
21 | |||
22 | 5 | public function __construct(CommandService $commandService) |
|
26 | |||
27 | /** |
||
28 | * Run a scheduled command |
||
29 | * |
||
30 | * @param \Indatus\Dispatcher\Scheduling\ScheduledCommandInterface $scheduledCommand |
||
31 | * @param array $arguments |
||
32 | * @param array $options |
||
33 | * @return bool |
||
34 | */ |
||
35 | 2 | public function run( |
|
51 | } |
||
52 |