private function ContainerBuilder::getProxyInstantiator in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::getProxyInstantiator()
Retrieves the currently set proxy instantiator or instantiates one.
Return value
InstantiatorInterface
File
- core/
lib/ Drupal/ Core/ DependencyInjection/ ContainerBuilder.php, line 39
Class
- ContainerBuilder
- Drupal's dependency injection container builder.
Namespace
Drupal\Core\DependencyInjectionCode
private function getProxyInstantiator() {
if (!$this->proxyInstantiator) {
$this->proxyInstantiator = new RealServiceInstantiator();
}
return $this->proxyInstantiator;
}