protected function createPdoResolver(array $config)
    {
        return array_key_exists('host', $config)
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
protected function createPdoResolver(array $config)
    {
        return array_key_exists('host', $config)
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
protected function createPdoResolver ( array $ config ) { return array_key_exists ( 'host' , $ config ) ? $ this -> createPdoResolverWithHosts ( $ config ) : $ this -> createPdoResolverWithoutHosts ( $ config ) ; }
Create a new Closure that resolves to a PDO instance.

@param  array  $config
@return \Closure
Create a new Closure that resolves to a PDO instance .