src/Phossa2/Logger/Traits/ExtendedLoggerTrait.php
protected function removeFromQueue(
        PriorityQueueInterface $queue,
        $callabOrClassname
    ) {
        if (is_object($callabOrClassname)) {
            $queue->remove($callabOrClassname);
        } else {
            foreach ($queue as $data) {
                if (is_a($data['data'], $callabOrClassname)) {
                    $queue->remove($data['data']);
                }
            }
        }
    }
protected function removeFromQueue(
        PriorityQueueInterface $queue,
        $callabOrClassname
    ) {
        if (is_object($callabOrClassname)) {
            $queue->remove($callabOrClassname);
        } else {
            foreach ($queue as $data) {
                if (is_a($data['data'], $callabOrClassname)) {
                    $queue->remove($data['data']);
                }
            }
        }
    }
protected function removeFromQueue ( PriorityQueueInterface $ queue , $ callabOrClassname ) { if ( is_object ( $ callabOrClassname ) ) { $ queue -> remove ( $ callabOrClassname ) ; } else { foreach ( $ queue as $ data ) { if ( is_a ( $ data [ 'data' ] , $ callabOrClassname ) ) { $ queue -> remove ( $ data [ 'data' ] ) ; } } } }
Remove callable or matching classname object from the queue

@param  PriorityQueueInterface $queue
@param  callable|string $callabOrClassname
@access protected
Remove callable or matching classname object from the queue