Exemplo n.º 1
0
 public static function castQueue(\AMQPQueue $c, array $a, Stub $stub, $isNested)
 {
     $prefix = Caster::PREFIX_VIRTUAL;
     $a += array($prefix . 'name' => $c->getName(), $prefix . 'flags' => self::extractFlags($c->getFlags()), $prefix . 'arguments' => $c->getArguments(), $prefix . 'connection' => $c->getConnection(), $prefix . 'channel' => $c->getChannel());
     return $a;
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function getFlags()
 {
     return self::convertFromDelegateFlags($this->delegate->getFlags());
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function getFlags() : int
 {
     return $this->queue->getFlags();
 }
Exemplo n.º 4
0
 /**
  * @return int
  */
 public function getFlags()
 {
     return $this->rawQueue->getFlags();
 }