@absolunet/ioc2.1.0

View on GitHub

ContainerProxy

Container proxy that allows dynamic resolving without using container.make().

Extends

Methods

has(object, property)

Source:
Container property check handler.
Parameters:
Name Type Description
object container.Container The current container.
property string The property name.
Returns:
Indicates that the property exists in the container or that the binding exists.
Type
boolean

get(object, property)

Source:
Overrides:
Property accessor.
Parameters:
Name Type Description
object object Proxied object.
property string The property name.
Returns:
The property value.
Type
*