Interface InitializerInterface

Summary

Fully Qualified Name: Laminas\ServiceManager\Initializer\InitializerInterface

Description

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

Methods

Name Description Defined By
__invoke() Initialize the given instance InitializerInterface

Method Details

__invoke()

Initialize the given instance

Parameter Name Type Description
$container \ContainerInterface
$instance object

Returns: void

Top