InitializerInterface
in
Interface for an initializer
An initializer can be registered to a service locator, and are run after an instance is created to inject additional dependencies through setters
Table of Contents
- __invoke() : void
- Initialize the given instance
Methods
__invoke()
Initialize the given instance
public
__invoke(ContainerInterface $container, object $instance) : void
Parameters
- $container : ContainerInterface
- $instance : object