1 code examples of PHP Bunny\AbstractClient extracted from open source projects
/**
* Client constructor.
* @param array $options see {@link AbstractClient} for available options
*/
public function __construct(array $options = [], LoggerInterface $logger = null)
{
$options['async'] = true;
$this->logger = $logger;
AbstractClient::__construct($options);
$this->eventLoop = Worker::$globalEvent;
}