a4da8e0edca8378cfe96e2d5f385986201bd6ec7
[yaffs-website] / RenderDataInterface.php
1 <?php
2 namespace Consolidation\OutputFormatters\Formatters;
3
4 use Consolidation\OutputFormatters\Options\FormatterOptions;
5
6 interface RenderDataInterface
7 {
8     /**
9      * Convert the contents of the output data just before it
10      * is to be printed, prior to output but after restructuring
11      * and validation.
12      *
13      * @param mixed $originalData
14      * @param mixed $restructuredData
15      * @param FormatterOptions $options Formatting options
16      * @return mixed
17      */
18     public function renderData($originalData, $restructuredData, FormatterOptions $options);
19 }