Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function freeze()
 {
     if (parent::isFrozen()) {
         return;
     }
     parent::freeze();
     $this->eventDispatcher->dispatch(EventsName::QUEUE_IS_FROZEN, new FrozenQueueEvent());
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function dequeue()
 {
     return parent::dequeue();
     return;
 }