Zend Framework  3.0
Public Member Functions | List of all members
FactoryInterface Interface Reference

Backwards-compatibility shim for FactoryInterface. More...

Public Member Functions

 createService (ServiceLocatorInterface $serviceLocator)
 Create service.
 
- Public Member Functions inherited from FactoryInterface
 __invoke (ContainerInterface $container, $requestedName, array $options=null)
 Create an object.
 

Detailed Description

Backwards-compatibility shim for FactoryInterface.

Implementations should update to implement only Zend.

If upgrading from v2, take the following steps:

Once you have tested your code, you can then update your class to only implement Zend, and remove the `createService()` method.

Deprecated:
Use Zend instead.

Member Function Documentation

createService ( ServiceLocatorInterface  $serviceLocator)