Interface DelegatorFactoryInterface

Summary

Fully Qualified Name: Zend\ServiceManager\Factory\DelegatorFactoryInterface

Description

Delegator factory interface.

Defines the capabilities required by a delegator factory. Delegator factories are used to either decorate a service instance, or to allow decorating the instantiation of a service instance (for instance, to provide optional dependencies via setters, etc.).

Methods

Name Description Defined By
__invoke() A factory that creates delegates of a given service DelegatorFactoryInterface

Method Details

__invoke()

A factory that creates delegates of a given service

Parameter Name Type Description
$container \ContainerInterface
$name string
$callback callable
$options null|array

Returns: object

Top