src/A1comms/GaeSupportLaravel/Database/Connectors/ConnectionFactory.php
/**
     * 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.
@param  array  $config
@return \Closure
Create a new Closure that resolves to a PDO instance . @param array $config @return \ Closure
protected function createPdoResolver(array $config)
    {
        if (array_key_exists('unix_socket', $config)) {
            return $this->createPdoResolverWithSockets($config);
        } elseif (array_key_exists('host', $config)) {
            return $this->createPdoResolverWithHosts($config);
        } else {
            return $this->createPdoResolverWithoutHosts($config);
        }
    }
protected function createPdoResolver ( array $ config ) { if ( array_key_exists ( 'unix_socket' , $ config ) ) { return $ this -> createPdoResolverWithSockets ( $ config ) ; } elseif ( array_key_exists ( 'host' , $ config ) ) { return $ this -> createPdoResolverWithHosts ( $ config ) ; } else { return $ this -> createPdoResolverWithoutHosts ( $ config ) ; } }
Create a new Closure that resolves to a PDO instance.
Create a new Closure that resolves to a PDO instance .