TableDataInterface.php 389 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php
namespace Consolidation\OutputFormatters\StructuredData;

interface TableDataInterface
{
    /**
     * 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);
}