public static function get($key, $default = null) {
        if (array_key_exists($key, self::$data)) {
            return self::$data[$key];
        } else {
            return $default;
        }
    }
public static function get($key, $default = null) {
        if (array_key_exists($key, self::$data)) {
            return self::$data[$key];
        } else {
            return $default;
        }
    }
public static function get ( $ key , $ default = null ) { if ( array_key_exists ( $ key , self :: $ data ) ) { return self :: $ data [ $ key ] ; } else { return $ default ; } }
Get a setting from the config.

@param string $key The config key.
@param mixed $default The default value if the config file doesn't exist.
@return mixed The value at {@link $key} or {@link $default} if the key isn't found.
@see \config()
Get a setting from the config .