AMQPConnection::pconnect PHP Метод

pconnect() публичный Метод

This method will initiate a connection with the AMQP broker or reuse an existing one if present.
public pconnect ( ) : boolean
Результат boolean TRUE on success or throws an exception on failure.
    public function pconnect()
    {
    }

Usage Example

Пример #1
0
 /**
  * @inheritdoc
  */
 public function connect()
 {
     if ($this->options->getPersistent()) {
         $this->connection->pconnect();
     } else {
         $this->connection->connect();
     }
 }