Version 1
[yaffs-website] / vendor / consolidation / output-formatters / src / StructuredData / RestructureInterface.php
diff --git a/vendor/consolidation/output-formatters/src/StructuredData/RestructureInterface.php b/vendor/consolidation/output-formatters/src/StructuredData/RestructureInterface.php
new file mode 100644 (file)
index 0000000..b6cfa83
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+namespace Consolidation\OutputFormatters\StructuredData;
+
+use Consolidation\OutputFormatters\Options\FormatterOptions;
+
+interface RestructureInterface
+{
+    /**
+     * Allow structured data to be restructured -- i.e. to select fields
+     * to show, reorder fields, etc.
+     *
+     * @param FormatterOptions $options Formatting options
+     */
+    public function restructure(FormatterOptions $options);
+}