| 1 | <?php |
||
| 10 | class DelayedEvent extends MessageQueueEvent |
||
| 11 | { |
||
| 12 | |||
| 13 | const DELAYED = 'message_queue.delayed'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | public $timestamp; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param AbstractEvent $event |
||
| 22 | * @param int $timestamp |
||
| 23 | */ |
||
| 24 | 2 | public function __construct(AbstractEvent $event, int $timestamp) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | public function getTimestamp() |
||
| 38 | } |
||
| 39 |