‪TYPO3CMS  ‪main
Services.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 namespace ‪TYPO3\CMS\Install;
6 
7 use Symfony\Component\DependencyInjection\ChildDefinition;
8 use Symfony\Component\DependencyInjection\ContainerBuilder;
9 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
11 
12 return static function (ContainerConfigurator $container, ContainerBuilder $containerBuilder) {
13  $containerBuilder->registerAttributeForAutoconfiguration(
14  UpgradeWizard::class,
15  static function (ChildDefinition $definition, ‪UpgradeWizard $attribute): void {
16  $definition->addTag(‪UpgradeWizard::TAG_NAME, ['identifier' => $attribute->identifier]);
17  }
18  );
19 };
‪TYPO3\CMS\Install\Attribute\UpgradeWizard\TAG_NAME
‪const TAG_NAME
Definition: UpgradeWizard.php:26
‪TYPO3\CMS\Install\Attribute\UpgradeWizard
Definition: UpgradeWizard.php:25
‪TYPO3\CMS\Install
Definition: LegacyClassesForIde.php:22