library/AMQP/Channel.php
protected function accessRequestOk(\AMQP\Wire\Reader $args)
    {
        $this->defaultTicket = $args->readShort();
        return $this->defaultTicket;
    }
protected function accessRequestOk(\AMQP\Wire\Reader $args)
    {
        $this->defaultTicket = $args->readShort();
        return $this->defaultTicket;
    }
protected function accessRequestOk ( \ AMQP \ Wire \ Reader $ args ) { $ this -> defaultTicket = $ args -> readShort ( ) ; return $ this -> defaultTicket ; }
grant access to server resources

@param \AMQP\Wire\Reader $args

@return int
grant access to server resources