You are here

private function ContainerBuilder::getProxyInstantiator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getProxyInstantiator()

Retrieves the currently set proxy instantiator or instantiates one.

Return value

InstantiatorInterface

File

vendor/symfony/dependency-injection/ContainerBuilder.php, line 1040

Class

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

Namespace

Symfony\Component\DependencyInjection

Code

private function getProxyInstantiator() {
  if (!$this->proxyInstantiator) {
    $this->proxyInstantiator = new RealServiceInstantiator();
  }
  return $this->proxyInstantiator;
}