Skip to content

Commit

Permalink
Added PSR-4 ClassLoader to list
Browse files Browse the repository at this point in the history
  • Loading branch information
dosten committed Jun 24, 2014
1 parent 741ad05 commit d1c95ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/class_loader/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit d1c95ce

Please sign in to comment.