mediatekformation

RuntimeInstantiator
in package
implements InstantiatorInterface

Runtime lazy loading proxy generator.

Tags
author

Marco Pivetta ocramius@gmail.com

Interfaces, Classes, Traits and Enums

InstantiatorInterface
Lazy proxy instantiator, capable of instantiating a proxy given a container, the service definitions and a callback that produces the real service instance.

Table of Contents

$factory  : mixed
__construct()  : mixed
instantiateProxy()  : object
Instantiates a proxy object.

Properties

Methods

instantiateProxy()

Instantiates a proxy object.

public instantiateProxy(ContainerInterface $container, Definition $definition, mixed $id, mixed $realInstantiator) : object
Parameters
$container : ContainerInterface
$definition : Definition
$id : mixed

Identifier of the requested service

$realInstantiator : mixed

Zero-argument callback that is capable of producing the real service instance

Return values
object

Search results