BootableExtensionInterface

Interface which defines that an extension can be booted.

since

4.0.0

Methods

boot

Booting the extension. This is the function to set up the environment of the extension like registering new class loaders, etc.

boot(\Psr\Container\ContainerInterface $container) : void

If required, some initial set up can be done from services of the container, eg. registering HTML services.

since

4.0.0

Arguments

$container

\Psr\Container\ContainerInterfaceThe container