File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Classes/Mvc/Configuration Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 1818namespace WapplerSystems \FormExtended \Mvc \Configuration ;
1919
2020use Psr \EventDispatcher \EventDispatcherInterface ;
21- use Symfony \Component \DependencyInjection \Attribute \Autowire ;
22- use TYPO3 \CMS \Core \Cache \Frontend \FrontendInterface ;
21+ use Symfony \Component \DependencyInjection \Attribute \AsAlias ;
2322use TYPO3 \CMS \Core \Utility \GeneralUtility ;
24- use TYPO3 \CMS \Form \Mvc \Configuration \TypoScriptService ;
25- use TYPO3 \CMS \Form \Mvc \Configuration \YamlSource ;
23+ use TYPO3 \CMS \Form \Mvc \Configuration \ConfigurationManagerInterface ;
2624use WapplerSystems \FormExtended \Event \AfterYamlConfigurationLoadedEvent ;
2725
2826
3230 * Scope: frontend / backend
3331 * @internal
3432 */
33+ #[AsAlias(ConfigurationManagerInterface::class, public: true )]
3534readonly class ConfigurationManager extends \TYPO3 \CMS \Form \Mvc \Configuration \ConfigurationManager
3635{
37- public function __construct (
38- private YamlSource $ yamlSource ,
39- #[Autowire(service: 'cache.assets ' )]
40- private FrontendInterface $ cache ,
41- private TypoScriptService $ typoScriptService
42- ) {
43- parent ::__construct (
44- $ yamlSource ,
45- $ cache ,
46- $ typoScriptService
47- );
48- }
4936
5037 /**
5138 * Load and parse YAML files which are configured within the TypoScript
You can’t perform that action at this time.
0 commit comments