Zend Framework
3.0
|
Backwards-compatibility shim for InitializerInterface. More...
Public Member Functions | |
initialize ($instance, ServiceLocatorInterface $serviceLocator) | |
Initialize. | |
Public Member Functions inherited from InitializerInterface | |
__invoke (ContainerInterface $container, $instance) | |
Initialize the given instance. | |
Backwards-compatibility shim for InitializerInterface.
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 `initialize()` method.
initialize | ( | $instance, | |
ServiceLocatorInterface | $serviceLocator | ||
) |