public static function read($key = null)
    {
        if ($key === null) {
            return static::$config;
        }

        return isset(static::$config[$key]) ? static::$config[$key] : null;
    }