getFlags() public method

Get all the flags currently set on the given exchange.
public getFlags ( ) : integer
return integer An integer bitmask of all the flags currently set on this exchange object.
Example #1
0
 public static function castExchange(\AMQPExchange $c, array $a, Stub $stub, $isNested)
 {
     $prefix = Caster::PREFIX_VIRTUAL;
     $a += array($prefix . 'name' => $c->getName(), $prefix . 'flags' => self::extractFlags($c->getFlags()), $prefix . 'type' => isset(self::$exchangeTypes[$c->getType()]) ? new ConstStub(self::$exchangeTypes[$c->getType()], $c->getType()) : $c->getType(), $prefix . 'arguments' => $c->getArguments(), $prefix . 'channel' => $c->getChannel(), $prefix . 'connection' => $c->getConnection());
     return $a;
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function getFlags()
 {
     return self::convertFromDelegateFlags($this->delegate->getFlags());
 }
Example #3
0
 /**
  * @return int
  */
 public function getFlags()
 {
     return $this->rawExchange->getFlags();
 }
Example #4
0
 /**
  * @inheritdoc
  */
 public function getFlags() : int
 {
     return $this->exchange->getFlags();
 }