class RealServiceInstantiator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator
Noop proxy instantiator - simply produces the real service instead of a proxy instance.
@author Marco Pivetta <ocramius@gmail.com>
Hierarchy
- class \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator implements InstantiatorInterface
Expanded class hierarchy of RealServiceInstantiator
2 files declare their use of RealServiceInstantiator
- ContainerBuilder.php in vendor/
symfony/ dependency-injection/ ContainerBuilder.php - RealServiceInstantiatorTest.php in vendor/
symfony/ dependency-injection/ Tests/ LazyProxy/ Instantiator/ RealServiceInstantiatorTest.php
File
- vendor/
symfony/ dependency-injection/ LazyProxy/ Instantiator/ RealServiceInstantiator.php, line 24
Namespace
Symfony\Component\DependencyInjection\LazyProxy\InstantiatorView source
class RealServiceInstantiator implements InstantiatorInterface {
/**
* {@inheritdoc}
*/
public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator) {
return call_user_func($realInstantiator);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RealServiceInstantiator:: |
public | function |
Instantiates a proxy object. Overrides InstantiatorInterface:: |