decrement() public method

Decrements the number of listening iterators. Marks the queue as disposed if the count reaches 0.
public decrement ( )
Beispiel #1
0
 /**
  * Removes queue from collection.
  */
 public function __destruct()
 {
     if (null !== $this->placeholder) {
         $this->placeholder->ready();
     }
     $this->queue->decrement();
 }