Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Contract / SimulatedInterface.php
diff --git a/vendor/consolidation/robo/src/Contract/SimulatedInterface.php b/vendor/consolidation/robo/src/Contract/SimulatedInterface.php
new file mode 100644 (file)
index 0000000..826f4b9
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+namespace Robo\Contract;
+
+/**
+ * Task that implements this interface can be injected as a parameter for other task.
+ * This task can be represented as executable command.
+ *
+ * @package Robo\Contract
+ */
+interface SimulatedInterface extends TaskInterface
+{
+    /**
+     * Called in place of `run()` for simulated tasks.
+     *
+     * @param null|array $context
+     */
+    public function simulate($context);
+}