Version 1
[yaffs-website] / vendor / drush / drush / commands / core / outputformat / php.inc
diff --git a/vendor/drush/drush/commands/core/outputformat/php.inc b/vendor/drush/drush/commands/core/outputformat/php.inc
new file mode 100644 (file)
index 0000000..056314f
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * Output formatter 'php'
+ *
+ * @param $data
+ *   The $data parameter is rendered as a serialized php string
+ * @param $metadata
+ *
+ * Code:
+ *
+ */
+class drush_outputformat_php extends drush_outputformat {
+  function format($input, $metadata) {
+    return serialize($input);
+  }
+}