src/Queue/InMemoryQueue.php
function release($id, $queue = null)
    {
        if ( $id instanceof iPayloadQueued ) {
            $arg   = $id;
            $id    = $arg->getUID();
            $queue = $arg->getQueue();
        }

        if (! isset($this->queues[$queue]) )
            return;

        if (! isset($this->queues[$queue][(string)$id]) )
            return;


        unset($this->queues[$queue][(string)$id]);
    }
function release($id, $queue = null)
    {
        if ( $id instanceof iPayloadQueued ) {
            $arg   = $id;
            $id    = $arg->getUID();
            $queue = $arg->getQueue();
        }

        if (! isset($this->queues[$queue]) )
            return;

        if (! isset($this->queues[$queue][(string)$id]) )
            return;


        unset($this->queues[$queue][(string)$id]);
    }
Release an Specific From Queue By Removing It

@param iPayloadQueued|string $id
@param null|string           $queue

@return void
@throws exIOError