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 afbce94

Browse filesBrowse files
committed
Added a note about deprecating addClassesToCompile()
1 parent 2b1dbee commit afbce94
Copy full SHA for afbce94

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎bundles/extension.rst

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

132+
.. versionadded:: 3.3
133+
This technique is discouraged and the ``addClassesToCompile()`` has been
134+
deprecated starting from Symfony 3.3, because modern PHP versions make it
135+
unnecessary.
136+
132137
Symfony creates a big ``classes.php`` file in the cache directory to aggregate
133138
the contents of the PHP classes that are used in every request. This reduces the
134139
I/O operations and increases the application performance.

0 commit comments

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