interface InstantiatorInterface
Same name in this branch
- 11.1.x vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php \Doctrine\Instantiator\InstantiatorInterface
Lazy proxy instantiator, capable of instantiating a proxy given a container, the service definitions and a callback that produces the real service instance.
@author Marco Pivetta <ocramius@gmail.com>
Hierarchy
- interface \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface
Expanded class hierarchy of InstantiatorInterface
All classes that implement InstantiatorInterface
1 file declares its use of InstantiatorInterface
- ContainerBuilder.php in vendor/
symfony/ dependency-injection/ ContainerBuilder.php
File
-
vendor/
symfony/ dependency-injection/ LazyProxy/ Instantiator/ InstantiatorInterface.php, line 23
Namespace
Symfony\Component\DependencyInjection\LazyProxy\InstantiatorView source
interface InstantiatorInterface {
/**
* Instantiates a proxy object.
*
* @param string $id Identifier of the requested service
* @param callable(object=) $realInstantiator A callback that is capable of producing the real service instance
*/
public function instantiateProxy(ContainerInterface $container, Definition $definition, string $id, callable $realInstantiator) : object;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
InstantiatorInterface::instantiateProxy | public | function | Instantiates a proxy object. | 2 |