Programming Language PHP

Namespace Bunny

Class AbstractClient

Method/Function __construct

Total Examples 1

1 code examples of PHP Bunny\AbstractClient::__construct extracted from open source projects

Was this example useful?
0
                                                    /**
     * 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;
    }
                                            
AbstractClient's Other Methods