public static function clearCompiledTemplates()
    {
        $twig = StaticContainer::get(Twig::class);
        $environment = $twig->getTwigEnvironment();
        $environment->clearTemplateCache();

        $cacheDirectory = $environment->getCache();
        if (!empty($cacheDirectory)
            && is_dir($cacheDirectory)
        ) {
            $environment->clearCacheFiles();
        }
    }
public static function clearCompiledTemplates()
    {
        $twig = StaticContainer::get(Twig::class);
        $environment = $twig->getTwigEnvironment();
        $environment->clearTemplateCache();

        $cacheDirectory = $environment->getCache();
        if (!empty($cacheDirectory)
            && is_dir($cacheDirectory)
        ) {
            $environment->clearCacheFiles();
        }
    }
public static function clearCompiledTemplates ( ) { $ twig = StaticContainer :: get ( Twig :: class ) ; $ environment = $ twig -> getTwigEnvironment ( ) ; $ environment -> clearTemplateCache ( ) ; $ cacheDirectory = $ environment -> getCache ( ) ; if ( ! empty ( $ cacheDirectory ) && is_dir ( $ cacheDirectory ) ) { $ environment -> clearCacheFiles ( ) ; } }
Clear compiled Twig templates
@ignore
Clear compiled Twig templates