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

        try
        {
            $this->client->hdel($this->_getWIPQueueName($queue), $id);
        } catch (\Exception $e) {
            throw new exWriteError('Error While Writing To Redis Client.', $e->getCode(), $e);
        }
    }
function release($id, $queue = null)
    {
        if ( $id instanceof iPayloadQueued )
        {
            $arg   = $id;
            $id    = $arg->getUID();
            $queue = $arg->getQueue();
        }

        try
        {
            $this->client->hdel($this->_getWIPQueueName($queue), $id);
        } catch (\Exception $e) {
            throw new exWriteError('Error While Writing To Redis Client.', $e->getCode(), $e);
        }
    }
function release ( $ id , $ queue = null ) { if ( $ id instanceof iPayloadQueued ) { $ arg = $ id ; $ id = $ arg -> getUID ( ) ; $ queue = $ arg -> getQueue ( ) ; } try { $ this -> client -> hdel ( $ this -> _getWIPQueueName ( $ queue ) , $ id ) ; } catch ( \ Exception $ e ) { throw new exWriteError ( 'Error While Writing To Redis Client.' , $ e -> getCode ( ) , $ e ) ; } }
Release an Specific From Queue By Removing It

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

@return void
@throws exIOError
Release an Specific From Queue By Removing It