[TASK] Replace inject methods with @inject; allow @Flow\Inject
Currently we are using inject methods like: /* * @param $foo Foo */ public function injectFoo(Foo $foo) { $this->foo = $foo; } This patch removes these methods and introduces property annotations: /** * @var Foo * @inject */ protected $foo; Besides that, it allows the use of @Flow\Inject as well for compatibility to Flow. Releases: 6.2 Resolves: #46598 Change-Id: Ied219d465dfa8fce24a819a7fc58a2ff8cb5401c Reviewed-on: https://review.typo3.org/21819 Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind
Showing
- typo3/sysext/extbase/Classes/Command/HelpCommandController.php 1 addition, 8 deletions.../sysext/extbase/Classes/Command/HelpCommandController.php
- typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php 3 additions, 24 deletions...se/Classes/Configuration/AbstractConfigurationManager.php
- typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php 4 additions, 10 deletions...ase/Classes/Configuration/BackendConfigurationManager.php
- typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php 2 additions, 16 deletions...xt/extbase/Classes/Configuration/ConfigurationManager.php
- typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php 1 addition, 8 deletions...se/Classes/Configuration/FrontendConfigurationManager.php
- typo3/sysext/extbase/Classes/Mvc/Cli/Command.php 3 additions, 16 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/Command.php
- typo3/sysext/extbase/Classes/Mvc/Cli/CommandManager.php 1 addition, 8 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/CommandManager.php
- typo3/sysext/extbase/Classes/Mvc/Cli/Request.php 1 addition, 8 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/Request.php
- typo3/sysext/extbase/Classes/Mvc/Cli/RequestBuilder.php 3 additions, 24 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/RequestBuilder.php
- typo3/sysext/extbase/Classes/Mvc/Cli/RequestHandler.php 4 additions, 32 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/RequestHandler.php
- typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php 3 additions, 30 deletions...ext/extbase/Classes/Mvc/Controller/AbstractController.php
- typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php 3 additions, 23 deletions...ysext/extbase/Classes/Mvc/Controller/ActionController.php
- typo3/sysext/extbase/Classes/Mvc/Controller/Argument.php 7 additions, 62 deletionstypo3/sysext/extbase/Classes/Mvc/Controller/Argument.php
- typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php 1 addition, 10 deletionstypo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php
- typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php 1 addition, 8 deletions...sext/extbase/Classes/Mvc/Controller/CommandController.php
- typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php 3 additions, 21 deletions...sext/extbase/Classes/Mvc/Controller/ControllerContext.php
- typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php 1 addition, 9 deletions...Mvc/Controller/MvcPropertyMappingConfigurationService.php
- typo3/sysext/extbase/Classes/Mvc/Dispatcher.php 2 additions, 19 deletionstypo3/sysext/extbase/Classes/Mvc/Dispatcher.php
- typo3/sysext/extbase/Classes/Mvc/RequestHandlerResolver.php 3 additions, 30 deletionstypo3/sysext/extbase/Classes/Mvc/RequestHandlerResolver.php
- typo3/sysext/extbase/Classes/Mvc/Web/AbstractRequestHandler.php 4 additions, 32 deletions...sysext/extbase/Classes/Mvc/Web/AbstractRequestHandler.php
Please register or sign in to comment