src/PubSubConnectionFactory.php
protected function makeHTTPAdapter(array $config)
    {
        $client = $this->container->make('pubsub.http.client');
        $adapter = $this->make(
            $config['subscribe_connection_config']['driver'],
            $config['subscribe_connection_config']
        );
        return new HTTPPubSubAdapter($client, $config['uri'], $adapter);
    }
protected function makeHTTPAdapter(array $config)
    {
        $client = $this->container->make('pubsub.http.client');
        $adapter = $this->make(
            $config['subscribe_connection_config']['driver'],
            $config['subscribe_connection_config']
        );
        return new HTTPPubSubAdapter($client, $config['uri'], $adapter);
    }
protected function makeHTTPAdapter ( array $ config ) { $ client = $ this -> container -> make ( 'pubsub.http.client' ) ; $ adapter = $ this -> make ( $ config [ 'subscribe_connection_config' ] [ 'driver' ] , $ config [ 'subscribe_connection_config' ] ) ; return new HTTPPubSubAdapter ( $ client , $ config [ 'uri' ] , $ adapter ) ; }
Factory a HTTPPubSubAdapter.

@param array $config

@return HTTPPubSubAdapter
Factory a HTTPPubSubAdapter .