[TASK] Introduce command registry to aggregate console commands
This introduces an iterable command registry that aggregates commands from Configuration/Commands.php files. To speed things up for subsequent usage, a first level cache is used. Resolves: #82455 Releases: master Change-Id: Ibd123ef947d06939bc84f5ea609996fec85de6e8 Reviewed-on: https://review.typo3.org/54120 Reviewed-by:Helmut Hummel <typo3@helhum.io> Tested-by:
Helmut Hummel <typo3@helhum.io> Reviewed-by:
Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
Mathias Brodala <mbrodala@pagemachine.de> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de> Tested-by:
Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Showing
- typo3/sysext/core/Classes/Console/CommandRegistry.php 97 additions, 0 deletionstypo3/sysext/core/Classes/Console/CommandRegistry.php
- typo3/sysext/core/Classes/Console/CommandRequestHandler.php 5 additions, 19 deletionstypo3/sysext/core/Classes/Console/CommandRequestHandler.php
- typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php 116 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php
Please register or sign in to comment