|
| __invoke (ContainerInterface $container, $requestedName, array $options=null) |
| Create an object.- Parameters
-
ContainerInterface | $container | |
string | $requestedName | |
null | array | $options | |
- Returns
- object
- Exceptions
-
ServiceNotFoundException | if unable to resolve the service. |
ServiceNotCreatedException | if an exception is raised when creating a service. |
ContainerException | if any other error occurs |
|
|
| createService (ServiceLocatorInterface $container, $name=null, $requestedName=IteratorAdapter::class) |
| Create and return an IteratorAdapter instance (v2)
|
|
| setCreationOptions (array $creationOptions) |
| Options to use with factory (v2)
|
|
| createService (ServiceLocatorInterface $serviceLocator) |
| Create service.
|
|