Exemplo n.º 1
0
 /**
  * @return AMQPPool
  **/
 public function disconnect()
 {
     if ($this->default) {
         $this->default->disconnect();
     }
     foreach ($this->pool as $amqp) {
         $amqp->disconnect();
     }
     return $this;
 }
Exemplo n.º 2
0
 public function __construct(AMQPCredentials $credentials)
 {
     parent::__construct($credentials);
     $this->fillCredentials();
 }