symfony/symfony — pull request #3623 by stof (2012-03-16 19:46:11+00:00)
Title: Autoloader

As discussed on #3570, this refactors the UniversalClassLoader to remove the distinction between namespaced classes and PEAR-like classes. This distinction was unnecessary as the PEAR convention is a subset of PSR-0

Currently, I kept a separate method to register the fallbacks (``addFallback`` vc ``add``) but I'm wondering if it wouldn't be better to specify an empty string as prefix in ``add`` to register a fallback, thus allowing us to use the namespace map generated by Composer directly (as this is how prefixes are handled by Composer). What do you think about it ?

The refactoring is BC as old methods have been kept (and rewritten internally to use the new logic).