Zend\ServiceManager\DelegatorFactoryInterface::createDelegatorWithName
A factory that creates delegates of a given service
Signature
public function createDelegatorWithName(ServiceLocatorInterface
$serviceLocator,
string
$name,
string
$requestedName,
callable
$callback )
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
— object- the callback that is responsible for creating the service
Returns
- mixed