Latte\Engine::getCacheFile PHP 메소드

getCacheFile() 공개 메소드

public getCacheFile ( $name ) : string
리턴 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";
    }