Skip to content

Commit

Permalink
Engine: added underscore to template class name
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 21, 2024
1 parent 5735804 commit eb0af5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Latte/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit eb0af5f

Please sign in to comment.