|
| __construct (Di $di) |
|
| get ($name, array $params=[]) |
|
|
|
| newInstance ($name, array $params=[], $isShared=true) |
|
|
|
| createInstanceViaConstructor ($class, $params, $alias=null) |
|
|
|
| createInstanceViaCallback ($callback, $params, $alias) |
|
|
|
| handleInjectionMethodForObject ($class, $method, $params, $alias, $isRequired) |
|
|
|
| __construct (DefinitionList $definitions=null, InstanceManager $instanceManager=null, Config $config=null) |
| Constructor.
|
|
| configure (Config $config) |
| Provide a configuration object to configure this instance.
|
|
| setDefinitionList (DefinitionList $definitions) |
|
| definitions () |
|
| setInstanceManager (InstanceManager $instanceManager) |
| Set the instance manager.
|
|
| instanceManager () |
|
| has ($name) |
| Is the DI container capable of returning the named instance?
|
|
| get ($name, array $params=[]) |
| Lazy-load a class.
|
|
| newInstance ($name, array $params=[], $isShared=true) |
| Retrieve a new instance of a class.
|
|
| injectDependencies ($instance, array $params=[]) |
| Inject dependencies.
|
|
| newInstance ($name, array $params=[]) |
| Retrieve a new instance of a class.
|
|
|
| resolveAndCallInjectionMethodForInstance ($instance, $method, $params, $alias, $methodIsRequired, $methodClass=null) |
|
|
|
| getClass ($instance) |
|
|
|
| getClass ($instance) |
| Utility method used to retrieve the class of a particular instance.
|
|
| getCallParameters ($name, array $params, $method="__construct") |
|
| handleInjectDependencies ($instance, $injectionMethods, $params, $instanceClass, $instanceAlias, $requestedName) |
|
| createInstanceViaConstructor ($class, $params, $alias=null) |
| Retrieve a class instance based on class name.
|
|
| createInstanceViaCallback ($callback, $params, $alias) |
| Get an object instance from the defined callback.
|
|
| resolveAndCallInjectionMethodForInstance ($instance, $method, $params, $alias, $methodRequirementType, $methodClass=null) |
| This parameter will handle any injection methods and resolution of dependencies for such methods.
|
|
| resolveMethodParameters ($class, $method, array $callTimeUserParams, $alias, $methodRequirementType, $isInstantiator=false) |
| Resolve parameters referencing other services.
|
|
Proxy used to analyze how instances are created by a given Di.
Overrides Zend to produce artifacts that represent the process used to instantiate a particular instance