Do.Method Class
Wrapper for a displaced method with aop enabled
Constructor
Methods
delete
(
-
sid -
fn -
when
Unregister a aop subscriber
exec
(
Any
-
arg
Execute the wrapped method. All arguments are passed into the wrapping
functions. If any of the before wrappers return an instance of
Y.Do.Halt or Y.Do.Prevent, neither the wrapped
function nor any after phase subscribers will be executed.
The return value will be the return value of the wrapped function or one
provided by a wrapper function via an instance of Y.Do.Halt or
Y.Do.AlterReturn.
Parameters:
-
argAny multipleArguments are passed to the wrapping and wrapped functions
Returns:
Any:
Return value of wrapped function unless overwritten (see above)
