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:
Brad Rodriguez 2010-12-18 17:02:05 +00:00
parent d8d9781910
commit 1468ebeca9

View file

@ -11,6 +11,7 @@
// Create a connection
$cnn = new AMQPConnection();
$cnn->connect();
// Declare a new exchange
$ex = new AMQPExchange($cnn);