Skip to content

Commit

Permalink
minor #6720 [Component][ClassLoader]Remove invalid note (rendler-denis)
Browse files Browse the repository at this point in the history
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #6720).

Discussion
----------

[Component][ClassLoader]Remove invalid note

- remove the note mentioning that a class loader from this component is registered in app/autoload.php because in fact it loads Composer's autoloader

Commits
-------

314e64c [Component][ClassLoader]Remove invalid note
  • Loading branch information
wouterj committed Jul 8, 2016
2 parents faca91a + 314e64c commit 4cd15a9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/class_loader/class_loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ is straightforward::

$loader->register();

.. note::

The autoloader is automatically registered in a Symfony application
(see ``app/autoload.php``).

Use :method:`Symfony\\Component\\ClassLoader\\ClassLoader::addPrefix` or
:method:`Symfony\\Component\\ClassLoader\\ClassLoader::addPrefixes` to register
your classes::
Expand Down

0 comments on commit 4cd15a9

Please sign in to comment.