public static function minimal(string $filePath = null)
    {
        if (is_file($filePath)) {
            /** @noinspection PhpIncludeInspection */
            $configItems = require_once $filePath;

            !is_array($configItems) || Config::items($configItems);

            ini_set('error_reporting',
                Config::exists('errors.error_reporting', 0));
            ini_set('display_errors',
                Config::exists('errors.display_errors', 0));

            Event::dispatch('minimal.loaded.minimal', [
                $filePath,
                is_array($configItems) ? $configItems : []
            ]);
        }
    }