public static function get($name)
    {
        if (!isset(self::$config[$name])) {
            $filename = __DIR__.'/../_config/'.$name.'.php';
            if (!file_exists($filename)) {
                throw new \RuntimeException('Error go\\DB config "'.$name.'"');
            }
            self::$config[$name] = include $filename;
        }
        return self::$config[$name];
    }
public static function get($name)
    {
        if (!isset(self::$config[$name])) {
            $filename = __DIR__.'/../_config/'.$name.'.php';
            if (!file_exists($filename)) {
                throw new \RuntimeException('Error go\\DB config "'.$name.'"');
            }
            self::$config[$name] = include $filename;
        }
        return self::$config[$name];
    }
public static function get ( $ name ) { if ( ! isset ( self :: $ config [ $ name ] ) ) { $ filename = __DIR__ . '/../_config/' . $ name . '.php' ; if ( ! file_exists ( $ filename ) ) { throw new \ RuntimeException ( 'Error go\\DB config "' . $ name . '"' ) ; } self :: $ config [ $ name ] = include $ filename ; } return self :: $ config [ $ name ] ; }
Returns a specified configuration

@example \go\DB\Config::get('placeholders')

@param string $name
@return mixed
@throws \RuntimeException
Returns a specified configuration