comparison vendor/consolidation/output-formatters/src/StructuredData/TableDataInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 5fb285c0d0e3
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2 namespace Consolidation\OutputFormatters\StructuredData;
3
4 interface TableDataInterface
5 {
6 /**
7 * Return the original data for this table. Used by any
8 * formatter that is -not- a table.
9 */
10 public function getOriginalData();
11
12 /**
13 * Convert structured data into a form suitable for use
14 * by the table formatter.
15 *
16 * @param boolean $includeRowKey Add a field containing the
17 * key from each row.
18 *
19 * @return array
20 */
21 public function getTableData($includeRowKey = false);
22 }