@absolunet/ioc2.1.0

View on GitHub

ForwardsCalls

Methods

forwardCall(method, parametersopt)

Source:
Forward call to given object.
Parameters:
Name Type Attributes Default Description
method string The method to call.
parameters Array.<*> <optional>
[] The parameters to send to the forwarded instance method.
Returns:
The method result.
Type
*

(abstract) getForward()

Source:
Get object which should receive the call forwarding.
Returns:
The forward instance.
Type
object