Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55c462e

Browse filesBrowse files
committed
minor #7819 Added a note about deprecating addClassesToCompile() (javiereguiluz)
This PR was submitted for the master branch but it was merged into the 3.3 branch instead (closes #7819). Discussion ---------- Added a note about deprecating addClassesToCompile() This fixes #7815. Commits ------- 81450f6 Added a note about deprecating addClassesToCompile()
2 parents 6e523f7 + 81450f6 commit 55c462e
Copy full SHA for 55c462e

File tree

1 file changed

+3
-5
lines changed
Filter options

1 file changed

+3
-5
lines changed

‎bundles/extension.rst

Copy file name to clipboardExpand all lines: bundles/extension.rst
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,9 @@ read more about it, see the ":doc:`/bundles/configuration`" article.
129129
Adding Classes to Compile
130130
-------------------------
131131

132-
.. note::
133-
134-
The ``addClassesToCompile()`` method was deprecated in Symfony 3.3, and will
135-
be removed in Symfony 4.0. If you want to use this method and be compatible
136-
with Symfony 4.0, check to see if the method exists before calling it.
132+
.. versionadded:: 3.3
133+
This technique is discouraged and the ``addClassesToCompile()`` method was
134+
deprecated in Symfony 3.3 because modern PHP versions make it unnecessary.
137135

138136
Symfony creates a big ``classes.php`` file in the cache directory to aggregate
139137
the contents of the PHP classes that are used in every request. This reduces the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.