2 namespace Consolidation\OutputFormatters\StructuredData;
4 use Consolidation\OutputFormatters\Options\FormatterOptions;
6 interface RenderCellInterface
9 * Convert the contents of one table cell into a string,
10 * so that it may be placed in the table. Renderer should
11 * return the $cellData passed to it if it does not wish to
14 * @param string $key Identifier of the cell being rendered
15 * @param mixed $cellData The data to render
16 * @param FormatterOptions $options The formatting options
17 * @param array $rowData The rest of the row data
21 public function renderCell($key, $cellData, FormatterOptions $options, $rowData);