Mercurial > hg > isophonics-drupal-site
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/consolidation/output-formatters/src/StructuredData/TableDataInterface.php Wed Nov 29 16:09:58 2017 +0000 @@ -0,0 +1,22 @@ +<?php +namespace Consolidation\OutputFormatters\StructuredData; + +interface TableDataInterface +{ + /** + * Return the original data for this table. Used by any + * formatter that is -not- a table. + */ + public function getOriginalData(); + + /** + * Convert structured data into a form suitable for use + * by the table formatter. + * + * @param boolean $includeRowKey Add a field containing the + * key from each row. + * + * @return array + */ + public function getTableData($includeRowKey = false); +}