1665. Class

1665.1. Zend\Mvc\Service\DiFactory

1665.1.1. Methods

1665.1.1.1. createService

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.

Parameters:ServiceLocatorInterface
Return type:Di

Project Versions

Table Of Contents

Previous topic

1664. Class

Next topic

1666. Class

This Page