Skip to content

[Components][ClassLoader] remove DebugClassLoader #4947

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 1 commit into from
Closed
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions components/class_loader/class_loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ load all of your project's classes.

You can use both the ``ApcClassLoader`` and the ``XcacheClassLoader`` to
:doc:`cache </components/class_loader/cache_class_loader>` a ``ClassLoader``
instance or the ``DebugClassLoader`` to :doc:`debug </components/class_loader/debug_class_loader>`
it.
instance.

Usage
-----
Expand Down
3 changes: 0 additions & 3 deletions components/class_loader/debug_class_loader.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. index::
single: ClassLoader; DebugClassLoader

Debugging a Class Loader
========================

Expand Down
6 changes: 5 additions & 1 deletion components/class_loader/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ ClassLoader
psr4_class_loader
map_class_loader
cache_class_loader
debug_class_loader
class_map_generator

.. toctree::
:hidden:

debug_class_loader
14 changes: 8 additions & 6 deletions components/class_loader/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ the class. Symfony provides three autoloaders, which are able to load your class
* :doc:`/components/class_loader/map_class_loader`: loads classes using
a static map from class name to file path.

Additionally, the Symfony ClassLoader component ships with a set of wrapper
classes which can be used to add additional functionality on top of existing
autoloaders:

* :doc:`/components/class_loader/cache_class_loader`
* :doc:`/components/class_loader/debug_class_loader`
Additionally, the Symfony ClassLoader component ships with a wrapper class
which makes it possible
:doc:`to cache the results of a class loader </components/class_loader/cache_class_loader>`.

When using the :doc:`Debug component </components/debug/introduction>`, you
can also use a special :doc:`DebugClassLoader </components/debug/class_loader>`
that eases debugging by throwing more helpful exceptions when a class could
not be found by a class loader.

Installation
------------
Expand Down
1 change: 0 additions & 1 deletion components/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* :doc:`/components/class_loader/psr4_class_loader`
* :doc:`/components/class_loader/map_class_loader`
* :doc:`/components/class_loader/cache_class_loader`
* :doc:`/components/class_loader/debug_class_loader`
* :doc:`/components/class_loader/class_map_generator`

* :doc:`/components/config/index`
Expand Down