Skip to content

Added a note about not using the ClassLoader component #7383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions components/class_loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ The ClassLoader Component
The ClassLoader component provides tools to autoload your classes and
cache their locations for performance.

.. caution::

The ClassLoader component was deprecated in Symfony 3.3 and it will be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, using the past tense here is not correct as 3.3 was released yet. Though I think that's okay as it allows us not to update the sentence in May again. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. It's not perfect, but it's "good enough".

removed in 4.0. Alternatively, use Composer's class loading mechanism.

Usage
-----

Expand Down