Since: 4.0.0

trait ExtensionManagerTrait

Trait for classes which can load extensions

Methods

bootComponent(string $component)

Boots the component with the given name.

bootModule(string $module, string $applicationName)

Boots the module with the given name.

bootPlugin(string $plugin, string $type)

Boots the plugin with the given name and type.

Container
getContainer()

Get the DI container.

Details

ComponentInterface bootComponent(string $component)

Since: 4.0.0

Boots the component with the given name.

Parameters

string $component

The component to boot.

Return Value

ComponentInterface

ModuleInterface bootModule(string $module, string $applicationName)

Since: 4.0.0

Boots the module with the given name.

Parameters

string $module

The module to boot

string $applicationName

The application name

Return Value

ModuleInterface

PluginInterface bootPlugin(string $plugin, string $type)

Since: 4.0.0

Boots the plugin with the given name and type.

Parameters

string $plugin

The plugin name

string $type

The type of the plugin

Return Value

PluginInterface

abstract protected Container getContainer()

Since: 4.0.0

Get the DI container.

Return Value

Container

Exceptions

ContainerNotFoundException