public static function getImplementationForAdapter($adapter)
    {
        if (!isset(self::$cacheAdapters[$adapter])) {
            $classname = __NAMESPACE__.'\\'.ucfirst($adapter);
            self::$cacheAdapters[$adapter] = new $classname();
        }
        return self::$cacheAdapters[$adapter];
    }
public static function getImplementationForAdapter($adapter)
    {
        if (!isset(self::$cacheAdapters[$adapter])) {
            $classname = __NAMESPACE__.'\\'.ucfirst($adapter);
            self::$cacheAdapters[$adapter] = new $classname();
        }
        return self::$cacheAdapters[$adapter];
    }
public static function getImplementationForAdapter ( $ adapter ) { if ( ! isset ( self :: $ cacheAdapters [ $ adapter ] ) ) { $ classname = __NAMESPACE__ . '\\' . ucfirst ( $ adapter ) ; self :: $ cacheAdapters [ $ adapter ] = new $ classname ( ) ; } return self :: $ cacheAdapters [ $ adapter ] ; }
Creates an instance for the specified adapter

@param string $adapter
@return \go\DB\Implementations\Base
Creates an instance for the specified adapter