Copied!

ComponentRegistryInterface

ComponentRegistryInterface.php : 11
Interface

Methods

publicaddComponent()

ComponentRegistryInterface.php : 13
public addComponent(string $group, string $serviceId, ComponentInterface $component) : void

Parameters

Name Type Default value Description
$group string - -
$serviceId string - -
$component ComponentInterface - -

publicgetComponents()

ComponentRegistryInterface.php : 18
public getComponents(string $group) : array<string|int, ComponentInterface>

Parameters

Name Type Default value Description
$group string - -

Return values

array<string|int, ComponentInterface>

publicsetComponents()

ComponentRegistryInterface.php : 23
public setComponents(string $group, array<string|int, ComponentInterface$components) : void

Parameters

Name Type Default value Description
$group string - -
$components array<string|int, ComponentInterface> - -