public function RealServiceInstantiator::instantiateProxy in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator::instantiateProxy()
Instantiates a proxy object.
Parameters
ContainerInterface $container the container from which the service is being requested:
Definition $definition the definition of the requested service:
string $id identifier of the requested service:
callable $realInstantiator zero-argument callback that is capable of producing the real: service instance
Return value
object
Overrides InstantiatorInterface::instantiateProxy
File
- vendor/
symfony/ dependency-injection/ LazyProxy/ Instantiator/ RealServiceInstantiator.php, line 29
Class
- RealServiceInstantiator
- Noop proxy instantiator - simply produces the real service instead of a proxy instance.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\InstantiatorCode
public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator) {
return call_user_func($realInstantiator);
}