CollectionProcessHook
class CollectionProcessHook implements ProcessResultInterface (View source)
The collection process hook is added to the annotation command hook manager in Runner::configureContainer(). This hook will be called every time a command runs. If the command result is a \Robo\Contract\TaskInterface (in particular, \Robo\Collection\Collection), then we run the collection, and return the result. We ignore results of any other type.
Methods
mixed
Details
mixed
process(mixed $result, CommandData $commandData)
No description