[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. Resolves: #70078 Releases: master Change-Id: I86f65fbb479eb46160ecef3a547a91e453ee5764 Reviewed-on: http://review.typo3.org/43523 Reviewed-by:Nicole Cordes <typo3@cordes.co> Reviewed-by:
Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php 16 additions, 8 deletions...xt/core/Classes/Core/ClassLoadingInformationGenerator.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-68700-AutoloadDefinitionCanBeProvidedInExt_emconfphp.rst 70 additions, 0 deletions...-68700-AutoloadDefinitionCanBeProvidedInExt_emconfphp.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-70078-ExtensionsCanProvideAClassMapForClassLoading.rst 75 additions, 0 deletions...re-70078-ExtensionsCanProvideAClassMapForClassLoading.rst
Please register or sign in to comment