mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Updating example to work with new api.
connect() is now required. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306436 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d8d9781910
commit
1468ebeca9
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
// Create a connection
|
||||
$cnn = new AMQPConnection();
|
||||
$cnn->connect();
|
||||
|
||||
// Declare a new exchange
|
||||
$ex = new AMQPExchange($cnn);
|
||||
|
|
Loading…
Reference in a new issue