Zend\Mvc\Service\DiFactory::createService
Create and return abstract factory seeded by dependency injector
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.
Signature
public function createService(ServiceLocatorInterface
$serviceLocator )
Parameters
$serviceLocator
— Zend\ServiceManager\ServiceLocatorInterface
Returns
- Di