Fully Qualified Name: | Zend\ServiceManager\ServiceLocatorInterface |
Extends: | ContainerInterface, ContainerInterface |
Interface for service locator
Name | Description | Defined By |
---|---|---|
build() | Build a service by its name, using optional options (such services are NEVER cached). | ServiceLocatorInterface |
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