Robo\Collection
Classes
Creates a task wrapper that converts any Callable into an object that can be used directly with a task collection.
Group tasks into a collection that run together. Supports rollback operations for handling error conditions.
Creates a collection, and adds tasks to it. The collection builder offers a streamlined chained-initialization mechanism for easily creating task groups. Facilities for creating working and temporary directories are also provided.
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.
Creates a task wrapper that will manage rollback and collection management to a task when it runs. Tasks are automatically wrapped in a CompletionWrapper when added to a task collection.
One element in a collection. Each element consists of a task all of its before tasks, and all of its after tasks.
Creates a task wrapper that converts any Callable into an object that will execute the callback once for each item in the provided collection.
The temporary collection keeps track of the global collection of temporary cleanup tasks in instances where temporary-generating tasks are executed directly via their run() method, rather than as part of a collection.