interface InstantiatorInterface in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php \Symfony\Component\DependencyInjection\LazyProxy\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 modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ LazyProxy/ Instantiator/ InstantiatorInterface.php, line 23
Namespace
Symfony\Component\DependencyInjection\LazyProxy\InstantiatorView source
interface InstantiatorInterface {
/**
* Instantiates a proxy object.
*
* @param ContainerInterface $container the container from which the service is being requested
* @param Definition $definition the definition of the requested service
* @param string $id identifier of the requested service
* @param callable $realInstantiator zero-argument callback that is capable of producing the real
* service instance
*
* @return object
*/
public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InstantiatorInterface:: |
public | function | Instantiates a proxy object. | 1 |