src/Bunny/ChannelMethods.php
public function exchangeDeclare($exchange, $exchangeType = 'direct', $passive = false, $durable = false, $autoDelete = false, $internal = false, $nowait = false, $arguments = [])
    {
        return $this->getClient()->exchangeDeclare($this->getChannelId(), $exchange, $exchangeType, $passive, $durable, $autoDelete, $internal, $nowait, $arguments);
    }
public function exchangeDeclare($exchange, $exchangeType = 'direct', $passive = false, $durable = false, $autoDelete = false, $internal = false, $nowait = false, $arguments = [])
    {
        return $this->getClient()->exchangeDeclare($this->getChannelId(), $exchange, $exchangeType, $passive, $durable, $autoDelete, $internal, $nowait, $arguments);
    }
public function exchangeDeclare ( $ exchange , $ exchangeType = 'direct' , $ passive = false , $ durable = false , $ autoDelete = false , $ internal = false , $ nowait = false , $ arguments = [ ] ) { return $ this -> getClient ( ) -> exchangeDeclare ( $ this -> getChannelId ( ) , $ exchange , $ exchangeType , $ passive , $ durable , $ autoDelete , $ internal , $ nowait , $ arguments ) ; }
Calls exchange.declare AMQP method.

@param string $exchange
@param string $exchangeType
@param boolean $passive
@param boolean $durable
@param boolean $autoDelete
@param boolean $internal
@param boolean $nowait
@param array $arguments

@return boolean|Promise\PromiseInterface|Protocol\MethodExchangeDeclareOkFrame
Calls exchange . declare AMQP method .