Interface for factories that can create delegates for services

 Methods

A factory that creates delegates of a given service

createDelegatorWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName, \Zend\ServiceManager\callable $callback) : mixed

Parameters

$serviceLocator

\Zend\ServiceManager\ServiceLocatorInterface

the service locator which requested the service

$name

string

the normalized service name

$requestedName

string

the requested service name

$callback

\Zend\ServiceManager\callable

the callback that is responsible for creating the service

Returns

mixed