PackageActivationService
Service for activating packages in classic mode.
Takes care of DI container juggling and flushing caches, while also setting up the activated package
Only for use in InstallUtility
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- activate() : void
Methods
__construct()
public
__construct(PackageManager $packageManager, BootService $bootService, OpcodeCacheService $opcodeCacheService) : mixed
Parameters
- $packageManager : PackageManager
- $bootService : BootService
- $opcodeCacheService : OpcodeCacheService
activate()
public
activate(array<string|int, mixed> $packageKeys[, object|null $emitter = null ]) : void
Parameters
- $packageKeys : array<string|int, mixed>
- $emitter : object|null = null