src/Config/Config.php
protected static function callDatabase($key)
    {
        $params = ['migration', 'prefixing', 'prefixe', 'default'];
        $data = self::$params['database'];
        $driver = $data['default'];
        //
        exception_if(!array_has($data['connections'], $driver), DatabaseDriverNotFoundException::class, $driver);
        //
        return (!in_array($key, $params)) ? $data['connections'][$driver][$key] : $data[$key];
    }
protected static function callDatabase($key)
    {
        $params = ['migration', 'prefixing', 'prefixe', 'default'];
        $data = self::$params['database'];
        $driver = $data['default'];
        //
        exception_if(!array_has($data['connections'], $driver), DatabaseDriverNotFoundException::class, $driver);
        //
        return (!in_array($key, $params)) ? $data['connections'][$driver][$key] : $data[$key];
    }
protected static function callDatabase ( $ key ) { $ params = [ 'migration' , 'prefixing' , 'prefixe' , 'default' ] ; $ data = self :: $ params [ 'database' ] ; $ driver = $ data [ 'default' ] ; // exception_if ( ! array_has ( $ data [ 'connections' ] , $ driver ) , DatabaseDriverNotFoundException :: class , $ driver ) ; // return ( ! in_array ( $ key , $ params ) ) ? $ data [ 'connections' ] [ $ driver ] [ $ key ] : $ data [ $ key ] ; }
find request parameter if primary parameter is 'database'.

@param $key(string) secondary parameter concatenated
find request parameter if primary parameter is database .