Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Contract / CompletionInterface.php
diff --git a/vendor/consolidation/robo/src/Contract/CompletionInterface.php b/vendor/consolidation/robo/src/Contract/CompletionInterface.php
new file mode 100644 (file)
index 0000000..a3b1c4e
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+namespace Robo\Contract;
+
+/**
+ * Any Robo tasks that implements this interface will
+ * be called when the task collection it is added to
+ * completes.
+ *
+ * Interface CompletionInterface
+ * @package Robo\Contract
+ */
+interface CompletionInterface extends TaskInterface
+{
+    /**
+     * Revert an operation that can be rolled back
+     */
+    public function complete();
+}