WARNING: You are browsing the documentation for Symfony 4.0 which is not maintained anymore. Consider upgrading your projects to Symfony 4.2.

You are browsing the Symfony 4 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4 yet, browse the Symfony 3.4 documentation.

The ClassLoader Component

4.0 version

The ClassLoader Component

Caution

The ClassLoader component was removed in Symfony 4.0. As an alternative, use any of the class loading optimizations provided by Composer.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.