Exemplo n.º 1
0
 /**
  * RabbitMq Test Client
  *
  * @return Client
  */
 public static function getClient()
 {
     $client = new Client(new Connection('tcp://127.0.0.1:61030'));
     $client->setLogin('guest', 'guest');
     $client->setVhostname('/');
     return $client;
 }