Show:

Return an AlterArgs object when you want to change the arguments that were passed into the function. Useful for Do.before subscribers. An example would be a service that scrubs out illegal characters prior to executing the core business logic.

Constructor

Do.AlterArgs

(
  • msg
  • newArgs
)

Parameters:

  • msg String

    (optional) Explanation of the altered return value

  • newArgs Array

    Call parameters to be used for the original method instead of the arguments originally passed in.

Index