Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     parent::close();
     $this->driver->removeQueue($this->name);
 }
Exemple #2
0
 /**
  * {@inheritDoc}
  */
 public function __construct($name)
 {
     parent::__construct($name);
     $this->queue = new SplQueue();
     $this->queue->setIteratorMode(SplQueue::IT_MODE_DELETE | SplQueue::IT_MODE_FIFO);
 }