RuntimeInstantiator
class RuntimeInstantiator implements InstantiatorInterface
Runtime lazy loading proxy generator.
Methods
| __construct() | ||
| object | instantiateProxy(ContainerInterface $container, Definition $definition, string $id, callable $realInstantiator) Instantiates a proxy object. |
Details
__construct()
object instantiateProxy(ContainerInterface $container, Definition $definition, string $id, callable $realInstantiator)
Instantiates a proxy object.
Parameters
| 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 |
Return Value
| object |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bridge/ProxyManager/LazyProxy/Instantiator/RuntimeInstantiator.html