Blog |
Forum |
Repository |
Wizard
Jump to letter: [
ABCGHILMPQRTUVWXZ
]
php-symfony3-class-loader - Symfony ClassLoader Component (version 3)
- Website:
- http://symfony.com/doc/3.4/components/class_loader.html
- Licence:
- MIT and CC-BY-SA
- Vendor:
- Remi Collet
- Description:
The ClassLoader Component loads your project classes automatically if they
follow some standard PHP conventions.
Whenever you use an undefined class, PHP uses the autoloading mechanism
to delegate the loading of a file defining the class. Symfony provides
a "universal" autoloader, which is able to load classes from files that
implement one of the following conventions:
* The technical interoperability standards [1] for PHP 5.3 namespaces
and class names
* The PEAR naming convention [2] for classes
If your classes and the third-party libraries you use for your project follow
these standards, the Symfony autoloader is the only autoloader you will ever
need.
Autoloader: /usr/share/php/Symfony3/Component/ClassLoader/autoload.php
[1] http://symfony.com/PSR0
[2] http://pear.php.net/manual/en/standards.php
Packages