1 | <?php |
||
14 | class WorkerCommand extends Controller |
||
15 | { |
||
16 | /** |
||
17 | * @var MailHandlerInterface |
||
18 | */ |
||
19 | public $mailProvider = MailHandler::class; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | public $defaultAction = 'work'; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | public $delay = 15; |
||
30 | |||
31 | /** |
||
32 | * @throws \Exception |
||
33 | */ |
||
34 | public function actionWork() |
||
42 | } |
||
43 |