public function unregister(ResponderInterface $responder)
    {
        $key = array_search($responder, $this->queue, true);
        if ($key !== false) {
            unset($this->queue[$key]);
        }

        return $this;
    }
public function unregister(ResponderInterface $responder)
    {
        $key = array_search($responder, $this->queue, true);
        if ($key !== false) {
            unset($this->queue[$key]);
        }

        return $this;
    }
public function unregister ( ResponderInterface $ responder ) { $ key = array_search ( $ responder , $ this -> queue , true ) ; if ( $ key !== false ) { unset ( $ this -> queue [ $ key ] ) ; } return $ this ; }
Remove ResponderInterface object from the queue

@var ResponderInterface $responder
@return Handler
Remove ResponderInterface object from the queue