| 1 | <?php |
||
| 13 | class SaveDelayEventSubscriber implements EventSubscriberInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var EventManagerInterface |
||
| 17 | */ |
||
| 18 | private $eventManager; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param EventManagerInterface $eventManager |
||
| 22 | */ |
||
| 23 | public function __construct(EventManagerInterface $eventManager) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | public static function getSubscribedEvents() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param DelayableEvent $event |
||
| 38 | */ |
||
| 39 | public function onDelay(DelayableEvent $event) |
||
| 43 | } |
||
| 44 |