| 1 | <?php |
||
| 10 | class CronEvent extends MessageQueueEvent implements PushViaWebsocket |
||
| 11 | { |
||
| 12 | |||
| 13 | const CRON = 'message_queue.cron'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $expression; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param AbstractEvent $event |
||
| 22 | * @param string $expression |
||
| 23 | */ |
||
| 24 | 4 | public function __construct(AbstractEvent $event, string $expression) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function getExpression() : string |
||
| 38 | } |
||
| 39 |