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);
            }
        }
    }
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);
            }
        }
    }
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 ) ; } } }
Method that generate all template caches
Method that generate all template caches