From eb0af5f68755f85974084b0ba294806bfdee7d0c Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 21 Apr 2024 19:00:57 +0200 Subject: [PATCH] Engine: added underscore to template class name --- src/Latte/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Latte/Engine.php b/src/Latte/Engine.php index bc2f6787e..f58771963 100644 --- a/src/Latte/Engine.php +++ b/src/Latte/Engine.php @@ -309,7 +309,7 @@ public function getCacheFile(string $name): string public function getTemplateClass(string $name): string { - return 'Template' . $this->generateCacheHash($name); + return 'Template_' . $this->generateCacheHash($name); }