Version 1
[yaffs-website] / vendor / consolidation / output-formatters / src / Transformations / OverrideRestructureInterface.php
diff --git a/vendor/consolidation/output-formatters/src/Transformations/OverrideRestructureInterface.php b/vendor/consolidation/output-formatters/src/Transformations/OverrideRestructureInterface.php
new file mode 100644 (file)
index 0000000..51a6ea8
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+namespace Consolidation\OutputFormatters\Transformations;
+
+use Consolidation\OutputFormatters\Options\FormatterOptions;
+
+interface OverrideRestructureInterface
+{
+    /**
+     * Select data to use directly from the structured output,
+     * before the restructure operation has been executed.
+     *
+     * @param mixed $structuredOutput Data to restructure
+     * @param FormatterOptions $options Formatting options
+     * @return mixed
+     */
+    public function overrideRestructure($structuredOutput, FormatterOptions $options);
+}