Skip to content

Commit f6c8798

Browse files
committed
fixes
1 parent 16d5553 commit f6c8798

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

Classes/Mvc/Configuration/ConfigurationManager.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
namespace WapplerSystems\FormExtended\Mvc\Configuration;
1919

2020
use 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;
2322
use 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;
2624
use WapplerSystems\FormExtended\Event\AfterYamlConfigurationLoadedEvent;
2725

2826

@@ -32,20 +30,9 @@
3230
* Scope: frontend / backend
3331
* @internal
3432
*/
33+
#[AsAlias(ConfigurationManagerInterface::class, public: true)]
3534
readonly 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

0 commit comments

Comments
 (0)