How to register namespaces (with PHP 5.3) in the Symfony 1.4 for the autoloader class feature (like the Symfony 2.0)?
Symfony uses the spl_autoload_register()
function to register its own autoloader (sfAutoload
).
You can register your own handler in the initialize()
function of your Project/Application/Plugin. (whichever applies).
This is, for example, also what the Swift_Mailer
plugin does: it registers its own autoloader when needed.