public static function getFromSapi(string $sapi): Enviroment
    {
        if (in_array($sapi, ['cli', 'phpdbg'])) {
            return Enviroment::CONSOLE();
        }

        return Enviroment::HTML();
    }