AMQPConnection::pconnect PHP Method

pconnect() public method

This method will initiate a connection with the AMQP broker or reuse an existing one if present.
public pconnect ( ) : boolean
return boolean TRUE on success or throws an exception on failure.
    public function pconnect()
    {
    }

Usage Example

コード例 #1
0
ファイル: Connection.php プロジェクト: prolic/HumusAmqp
 /**
  * @inheritdoc
  */
 public function connect()
 {
     if ($this->options->getPersistent()) {
         $this->connection->pconnect();
     } else {
         $this->connection->connect();
     }
 }