static public function makeApp($envPath = null, array $config = [], $kernel = null)
    {
        $envPath = is_null($envPath) ? static::getRuntimePath() : $envPath;
        $kernel  = is_null($kernel)  ? static::defaultKernel()  : $kernel;
        $config  = empty($config)    ? static::defaultConfig()  : $config;

        return new static($envPath, $kernel, $config);
    }