Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Task / Docker / Result.php
diff --git a/vendor/consolidation/robo/src/Task/Docker/Result.php b/vendor/consolidation/robo/src/Task/Docker/Result.php
new file mode 100644 (file)
index 0000000..0533159
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+namespace Robo\Task\Docker;
+
+class Result extends \Robo\Result
+{
+
+    /**
+     * Do not print result, as it was already printed
+     */
+    protected function printResult()
+    {
+    }
+
+    /**
+     * @return null|string
+     */
+    public function getCid()
+    {
+        if (isset($this['cid'])) {
+            return $this['cid'];
+        }
+        return null;
+    }
+
+    /**
+     * @return null|string
+     */
+    public function getContainerName()
+    {
+        if (isset($this['name'])) {
+            return $this['name'];
+        }
+        return null;
+    }
+}