You are here

public function InstantiatorInterface::instantiateProxy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface::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

1 method overrides InstantiatorInterface::instantiateProxy()
RealServiceInstantiator::instantiateProxy in vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php
Instantiates a proxy object.

File

vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php, line 36

Class

InstantiatorInterface
Lazy proxy instantiator, capable of instantiating a proxy given a container, the service definitions and a callback that produces the real service instance.

Namespace

Symfony\Component\DependencyInjection\LazyProxy\Instantiator

Code

public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator);