Latte\Engine::getCacheFile PHP Method

getCacheFile() public method

public getCacheFile ( $name ) : string
return string
    public function getCacheFile($name)
    {
        $hash = substr($this->getTemplateClass($name), 8);
        $base = preg_match('#([/\\\\][\\[email protected]]{3,35}){1,3}\\z#', $name, $m) ? preg_replace('#[^\\[email protected]]+#', '-', substr($m[0], 1)) . '--' : '';
        return "{$this->tempDirectory}/{$base}{$hash}.php";
    }