AlterResultInterface
interface AlterResultInterface implements ProcessResultInterface (View source)
Alter the result of a command after it has been processed.
An alter result interface isa process result interface.
Methods
mixed
process(mixed $result, CommandData $commandData)
After a command has executed, if the result is something that needs to be processed, e.g. a collection of tasks to run, then execute it and return the new result.
Details
mixed
process(mixed $result, CommandData $commandData)
After a command has executed, if the result is something that needs to be processed, e.g. a collection of tasks to run, then execute it and return the new result.