Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1004 Bytes

introduction.rst

File metadata and controls

31 lines (20 loc) · 1004 Bytes

The Class Loader Component

The Class Loader Component loads your project classes automatically.

Whenever you use an undefined class, 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:

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

Installation

You can install the component in 2 different ways: