public function setFlags($flags) {
        if($flags !== $flags & (AMQP_DURABLE | AMQP_PASSIVE | AMQP_EXCLUSIVE | AMQP_AUTODELETE))
            return false;

        $this->flags = $flags;
        return true;
    }
public function setFlags($flags) {
        if($flags !== $flags & (AMQP_DURABLE | AMQP_PASSIVE | AMQP_EXCLUSIVE | AMQP_AUTODELETE))
            return false;

        $this->flags = $flags;
        return true;
    }
public function setFlags ( $ flags ) { if ( $ flags !== $ flags & ( AMQP_DURABLE | AMQP_PASSIVE | AMQP_EXCLUSIVE | AMQP_AUTODELETE ) ) return false ; $ this -> flags = $ flags ; return true ; }
Set the flags on the queue.

@param integer $flags A bitmask of flags:
AMQP_DURABLE, AMQP_PASSIVE,
AMQP_EXCLUSIVE, AMQP_AUTODELETE.

@return boolean
Set the flags on the queue .