2 namespace Robo\Contract;
5 * Any Robo tasks that implements this interface will
6 * be called when the task collection it is added to
7 * fails, and runs its rollback operation.
9 * Interface RollbackInterface
10 * @package Robo\Contract
12 interface RollbackInterface extends TaskInterface
15 * Revert an operation that can be rolled back
17 public function rollback();