Fully Qualified Name: | Zend\ServiceManager\Factory\DelegatorFactoryInterface |
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.).
Name | Description | Defined By |
---|---|---|
__invoke() | A factory that creates delegates of a given service | DelegatorFactoryInterface |
A factory that creates delegates of a given service
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$name | string | |
$callback | callable | |
$options | null|array |
Returns: object