You are here

public function ContainerBuilder::setProxyInstantiator in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::setProxyInstantiator()

Sets the instantiator to be used when fetching proxies.

Parameters

InstantiatorInterface $proxyInstantiator:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php, line 121

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function setProxyInstantiator(InstantiatorInterface $proxyInstantiator) {
  $this->proxyInstantiator = $proxyInstantiator;
}