Skip to content

Commit d1c95ce

Browse files
committed
Added PSR-4 ClassLoader to list
1 parent 741ad05 commit d1c95ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/class_loader/introduction.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ Usage
1212

1313
Whenever you reference a class that has not been required or included yet,
1414
PHP uses the `autoloading mechanism`_ to delegate the loading of a file defining
15-
the class. Symfony2 provides two autoloaders, which are able to load your classes:
15+
the class. Symfony2 provides three autoloaders, which are able to load your classes:
1616

1717
* :doc:`/components/class_loader/class_loader`: loads classes that follow
1818
the `PSR-0` class naming standard;
1919

20+
* :doc:`/components/class_loader/psr4_class_loader`: loads classes that follow
21+
the `PSR-4` class naming standard;
22+
2023
* :doc:`/components/class_loader/map_class_loader`: loads classes using
2124
a static map from class name to file path.
2225

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy