original_string: private function generateTemplatesCache()
      {
          /** @var \Twig_Loader_Filesystem $loader */
          $loader = $this->tpl->getLoader();
          $availablePaths = $loader->getPaths();
          if (!empty($availablePaths)) {
              foreach ($availablePaths as $path) {
                  $this->generateTemplate($path);
              }
          }
      }
code: private function generateTemplatesCache()
      {
          /** @var \Twig_Loader_Filesystem $loader */
          $loader = $this->tpl->getLoader();
          $availablePaths = $loader->getPaths();
          if (!empty($availablePaths)) {
              foreach ($availablePaths as $path) {
                  $this->generateTemplate($path);
              }
          }
      }
code_tokens: private function generateTemplatesCache ( ) { /** @var \Twig_Loader_Filesystem $loader */ $ loader = $ this -> tpl -> getLoader ( ) ; $ availablePaths = $ loader -> getPaths ( ) ; if ( ! empty ( $ availablePaths ) ) { foreach ( $ availablePaths as $ path ) { $ this -> generateTemplate ( $ path ) ; } } }
docstring: Method that generate all template caches
docstring_tokens: Method that generate all template caches