PackageActivationService

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

Internal
Attributes
#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
activate()  : void
reloadExtensionData()  : void
updateDatabase()  : void

Methods

__construct()

public __construct(Registry $registry, SqlReader $sqlReader, SchemaMigrator $schemaMigrator, PackageManager $packageManager, CacheManager $cacheManager, BootService $bootService, OpcodeCacheService $opcodeCacheService, EventDispatcherInterface $eventDispatcher, ExtensionConfiguration $extensionConfiguration, TcaSchemaFactory $tcaSchemaFactory) : mixed
Parameters
$registry : Registry
$sqlReader : SqlReader
$schemaMigrator : SchemaMigrator
$packageManager : PackageManager
$cacheManager : CacheManager
$bootService : BootService
$opcodeCacheService : OpcodeCacheService
$eventDispatcher : EventDispatcherInterface
$extensionConfiguration : ExtensionConfiguration
$tcaSchemaFactory : TcaSchemaFactory

activate()

public activate(array<string|int, mixed> $extensionKeys[, object|null $emitter = null ]) : void
Parameters
$extensionKeys : array<string|int, mixed>
$emitter : object|null = null

reloadExtensionData()

public reloadExtensionData(array<string|int, mixed> $extensionKeys[, object|null $emitter = null ]) : void
Parameters
$extensionKeys : array<string|int, mixed>
$emitter : object|null = null

updateDatabase()

public updateDatabase() : void

        
On this page

Search results