Fully Qualified Name: | Laminas\ServiceManager\PluginManagerInterface |
Extends: | ServiceLocatorInterface |
Interface for a plugin manager
A plugin manager is a specialized service locator used to create homogeneous objects
Name | Description | Defined By |
---|---|---|
build() | Build a service by its name, using optional options (such services are NEVER cached). | ServiceLocatorInterface |
validate() | Validate an instance | PluginManagerInterface |
Build a service by its name, using optional options (such services are NEVER cached).
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$options | null|array |
Returns: mixed
Validate an instance
Parameter Name | Type | Description |
---|---|---|
$instance | object |
Returns: void