Version 1
[yaffs-website] / vendor / consolidation / annotated-command / src / OutputDataInterface.php
diff --git a/vendor/consolidation/annotated-command/src/OutputDataInterface.php b/vendor/consolidation/annotated-command/src/OutputDataInterface.php
new file mode 100644 (file)
index 0000000..9102764
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+namespace Consolidation\AnnotatedCommand;
+
+/**
+ * If an annotated command method returns an object that
+ * implements OutputDataInterface, then the getOutputData()
+ * method is used to fetch the output to print from the
+ * result object.
+ */
+interface OutputDataInterface
+{
+    public function getOutputData();
+}