public function 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 drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.php
Instantiates a proxy object.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/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);