‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Package\PackageActivationService Class Reference

Public Member Functions

 __construct (private Registry $registry, private SqlReader $sqlReader, private SchemaMigrator $schemaMigrator, private PackageManager $packageManager, private CacheManager $cacheManager, private BootService $bootService, private OpcodeCacheService $opcodeCacheService, private EventDispatcherInterface $eventDispatcher, private ExtensionConfiguration $extensionConfiguration,)
 
 activate (array $extensionKeys, ?object $emitter=null)
 
 reloadExtensionData (array $extensionKeys, ?object $emitter=null)
 
 updateDatabase ()
 

Detailed Description

Service for activating packages, enabling further initialization functionality by dispatching the PackageInitializationEvent.

Definition at line 40 of file PackageActivationService.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Package\PackageActivationService::__construct ( private Registry  $registry,
private SqlReader  $sqlReader,
private SchemaMigrator  $schemaMigrator,
private PackageManager  $packageManager,
private CacheManager  $cacheManager,
private BootService  $bootService,
private OpcodeCacheService  $opcodeCacheService,
private EventDispatcherInterface  $eventDispatcher,
private ExtensionConfiguration  $extensionConfiguration 
)

Definition at line 42 of file PackageActivationService.php.

Member Function Documentation

◆ activate()

TYPO3\CMS\Core\Package\PackageActivationService::activate ( array  $extensionKeys,
?object  $emitter = null 
)

◆ reloadExtensionData()

TYPO3\CMS\Core\Package\PackageActivationService::reloadExtensionData ( array  $extensionKeys,
?object  $emitter = null 
)

◆ updateDatabase()

TYPO3\CMS\Core\Package\PackageActivationService::updateDatabase ( )