PhpAmqpLib/Channel/AMQPChannel.php
public function basic_recover($requeue = false)
    {
        list($class_id, $method_id, $args) = $this->protocolWriter->basicRecover($requeue);
        $this->send_method_frame(array($class_id, $method_id), $args);

        return $this->wait(array(
            $this->waitHelper->get_wait('basic.recover_ok')
        ), false, $this->channel_rpc_timeout);
    }
public function basic_recover($requeue = false)
    {
        list($class_id, $method_id, $args) = $this->protocolWriter->basicRecover($requeue);
        $this->send_method_frame(array($class_id, $method_id), $args);

        return $this->wait(array(
            $this->waitHelper->get_wait('basic.recover_ok')
        ), false, $this->channel_rpc_timeout);
    }
public function basic_recover ( $ requeue = false ) { list ( $ class_id , $ method_id , $ args ) = $ this -> protocolWriter -> basicRecover ( $ requeue ) ; $ this -> send_method_frame ( array ( $ class_id , $ method_id ) , $ args ) ; return $ this -> wait ( array ( $ this -> waitHelper -> get_wait ( 'basic.recover_ok' ) ) , false , $ this -> channel_rpc_timeout ) ; }
Redelivers unacknowledged messages

@param bool $requeue
@throws \PhpAmqpLib\Exception\AMQPTimeoutException if the specified operation timeout was exceeded
@return mixed
Redelivers unacknowledged messages