src/Connector/RabbitConnector.php
protected function exchangeDeclare($exchange, $type = 'direct')
    {
        return $this->channel->exchange_declare(
            $exchange,
            $type,
            false,
            $this->persistent,
            false
        );
    }
protected function exchangeDeclare($exchange, $type = 'direct')
    {
        return $this->channel->exchange_declare(
            $exchange,
            $type,
            false,
            $this->persistent,
            false
        );
    }
protected function exchangeDeclare ( $ exchange , $ type = 'direct' ) { return $ this -> channel -> exchange_declare ( $ exchange , $ type , false , $ this -> persistent , false ) ; }
Declares a new exchange

@param string $exchange
@param string $type

@codeCoverageIgnore
Declares a new exchange