library/AMQP/Channel.php
public function basicQos($prefetchSize, $prefetchCount, $aGlobal)
    {
        $args = $this->frameBuilder->basicQos(
            $prefetchSize, $prefetchCount, $aGlobal
        );
        $this->sendMethodFrame(array(60, 10), $args);
        return $this->wait(
            array(
                 "60,11" //Channel.basicQosOk
            )
        );
    }
public function basicQos($prefetchSize, $prefetchCount, $aGlobal)
    {
        $args = $this->frameBuilder->basicQos(
            $prefetchSize, $prefetchCount, $aGlobal
        );
        $this->sendMethodFrame(array(60, 10), $args);
        return $this->wait(
            array(
                 "60,11" //Channel.basicQosOk
            )
        );
    }
public function basicQos ( $ prefetchSize , $ prefetchCount , $ aGlobal ) { $ args = $ this -> frameBuilder -> basicQos ( $ prefetchSize , $ prefetchCount , $ aGlobal ) ; $ this -> sendMethodFrame ( array ( 60 , 10 ) , $ args ) ; return $ this -> wait ( array ( "60,11" //Channel.basicQosOk ) ) ; }
specify quality of service

@param $prefetchSize
@param $prefetchCount
@param $aGlobal

@return mixed|null
specify quality of service