ContainerBuilder::getProxyInstantiator

private ContainerBuilder::getProxyInstantiator()

Retrieves the currently set proxy instantiator or instantiates one.

Return value

InstantiatorInterface

Overrides ContainerBuilder::getProxyInstantiator

File

core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 39

Class

ContainerBuilder
Drupal's dependency injection container builder.

Namespace

Drupal\Core\DependencyInjection

Code

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

  return $this->proxyInstantiator;
}
doc_Drupal
2016-10-29 08:56:41
Comments
Leave a Comment

Please login to continue.