Allow to register a class map for TYPO3 extensions in non composer mode
[FEATURE] Add possibility for extensions to register class maps
With the old class loader it was possible for extension authors
to register several classes in an ext_autoload.php file.
This possibility was completely removed with introduction of composer class loading.
In composer mode, one can fully benefit from composer and its class loading options.
However TYPO3 installations in non composer mode (extracted and symlinked
archive of sources), lack this functionality completely.
It could however be useful to have that for some edge cases or legacy code,
without completely relying on a full scan for classes in the complete extension
directory (when no new class loading info is found at all), which can be an issue
of its own.
With this change it is also possible to define a "classmap" section
in the composer.json or ext_emcomf.php file.
Reviewed-by: Nicole Cordes <firstname.lastname@example.org>
Reviewed-by: Helmut Hummel <email@example.com>
Tested-by: Helmut Hummel <firstname.lastname@example.org>
Tested-by: Nicole Cordes <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>