Delegator factory responsible of instantiating lazy loading value holder proxies of given services at runtime
| link | https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md |
|---|
__construct(\ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory, array $servicesMap)
\ProxyManager\Factory\LazyLoadingValueHolderFactory
string[]a map of service names to class names of their respective classes
createDelegatorWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName, \Zend\ServiceManager\callable $callback) : object | \ProxyManager\Proxy\LazyLoadingInterface | \ProxyManager\Proxy\ValueHolderInterface
\Zend\ServiceManager\ServiceLocatorInterfacethe service locator which requested the service
stringthe normalized service name
stringthe requested service name
\Zend\ServiceManager\callablethe callback that is responsible for creating the service
object\ProxyManager\Proxy\LazyLoadingInterface\ProxyManager\Proxy\ValueHolderInterface
$proxyFactory : \ProxyManager\Factory\LazyLoadingValueHolderFactory
$servicesMap : string[]