AMQPExchange::getArguments PHP Method

getArguments() public method

Get all arguments set on the given exchange.
public getArguments ( ) : array
return array An array containing all of the set key/value pairs.
    public function getArguments()
    {
    }

Usage Example

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;
 }
All Usage Examples Of AMQPExchange::getArguments