original_string: 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();
          }
      }
code: 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();
          }
      }
code_tokens: 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 ( ) ; } }
docstring: Clear compiled Twig templates
  @ignore
docstring_tokens: Clear compiled Twig templates