From 714360d612925560feb2a7d90bed605ba667945a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 11 Mar 2019 17:49:02 +0100 Subject: [PATCH] marked Twig\Environment::getTemplateClass() as internal --- CHANGELOG | 1 + src/Environment.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index b27d29ae2..409225324 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ * 2.7.0 (2019-XX-XX) + * marked Twig\Environment::getTemplateClass() as internal (implementation detail) * improved the performance of the sandbox * deprecated the spaceless tag * added a spaceless filter diff --git a/src/Environment.php b/src/Environment.php index 188ef05af..c3506ffdb 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -293,6 +293,8 @@ class Environment * @param int|null $index The index if it is an embedded template * * @return string The template class name + * + * @internal */ public function getTemplateClass($name, $index = null) {