Methods

Create and return abstract factory seeded by dependency injector

createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\Di\Di

Creates and returns an abstract factory seeded by the dependency injector. If the "di" key of the configuration service is set, that sub-array is passed to a DiConfig object and used to configure the DI instance. The DI instance is then used to seed the DiAbstractServiceFactory, which is then registered with the service manager.

Parameters

Returns