class RealServiceInstantiator implements InstantiatorInterface
{@inheritdoc}
Noop proxy instantiator - simply produces the real service instead of a proxy instance.
object | instantiateProxy(ContainerInterface $container, Definition $definition, string $id, callable $realInstantiator) Instantiates a proxy object. |
Instantiates a proxy object.
ContainerInterface | $container | The container from which the service is being requested |
Definition | $definition | The definition of the requested service |
string | $id | Identifier of the requested service |
callable | $realInstantiator | Zero-argument callback that is capable of producing the real service instance |
object |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.html