Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Contract / TaskInterface.php
diff --git a/vendor/consolidation/robo/src/Contract/TaskInterface.php b/vendor/consolidation/robo/src/Contract/TaskInterface.php
new file mode 100644 (file)
index 0000000..c477d16
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+namespace Robo\Contract;
+
+/**
+ * All Robo tasks should implement this interface.
+ * Task should be configured by chained methods.
+ *
+ * Interface TaskInterface
+ * @package Robo\Contract
+ */
+interface TaskInterface
+{
+    /**
+     * @return \Robo\Result
+     */
+    public function run();
+}