Permalink
Browse files

feature #3972 Added PSR-4 to Class Loaders list (dosten)

This PR was merged into the 2.5 branch.

Discussion
----------

Added PSR-4 to Class Loaders list

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | yes
| Applies to    | 2.5+
| Fixed tickets | none

Commits
-------

d1c95ce Added PSR-4 ClassLoader to list
  • Loading branch information...
weaverryan committed Jul 1, 2014
2 parents f34eaed + d1c95ce commit 2b2d9d348a7d9c46b9a5b04ef2cd088151668886
Showing with 4 additions and 1 deletion.
  1. +4 −1 components/class_loader/introduction.rst
@@ -12,11 +12,14 @@ Usage
Whenever you reference a class that has not been required or included yet,
PHP uses the `autoloading mechanism`_ to delegate the loading of a file defining
the class. Symfony2 provides two autoloaders, which are able to load your classes:
the class. Symfony2 provides three autoloaders, which are able to load your classes:
* :doc:`/components/class_loader/class_loader`: loads classes that follow
the `PSR-0` class naming standard;
* :doc:`/components/class_loader/psr4_class_loader`: loads classes that follow
the `PSR-4` class naming standard;
* :doc:`/components/class_loader/map_class_loader`: loads classes using
a static map from class name to file path.

0 comments on commit 2b2d9d3

Please sign in to comment.