private function createMinifyAssetsLib()
    {
        Helper::createFolderIfNoExist(PATH_HOME . 'assetsPublic/cache');
        Helper::createFolderIfNoExist(PATH_HOME . 'assetsPublic/view');

        //Remove todos os dados das pastas de assets
        foreach (Helper::listFolder(PATH_HOME . "assetsPublic/cache") as $cache) {
            if(!is_dir(PATH_HOME . "assetsPublic/cache/" . $cache))
                unlink(PATH_HOME . "assetsPublic/cache/" . $cache);
        }
        foreach (Helper::listFolder(PATH_HOME . "assetsPublic/view") as $cache) {
            if(!is_dir(PATH_HOME . "assetsPublic/view/" . $cache))
                unlink(PATH_HOME . "assetsPublic/view/" . $cache);
        }

        $vendors = Config::getViewPermissoes();
        $this->createRepositorioCache($vendors);
        $this->downloadAssetsCache($vendors);

        foreach ($vendors as $lib) {
            $path = PATH_HOME . VENDOR . $lib . "/public/";
            if (file_exists($path . "view")) {
                foreach (Helper::listFolder($path . "view") as $view) {
                    if (preg_match('/.php$/i', $view)) {

                        //para cada view
                        $nameView = str_replace('.php', '', $view);

                        if(!in_array($nameView, ['updateSystema']))
                            $this->createViewAssets($path, $nameView);
                    }
                }
            }
        }
    }