protected function table(array $headers, array $data)
    {
        $dataset = [];

        foreach (array_values($data) as $value) {
            $dataset[] = array_combine($headers, $value);
        }

        return Utils\format_items('table', $dataset, $headers);
    }
protected function table(array $headers, array $data)
    {
        $dataset = [];

        foreach (array_values($data) as $value) {
            $dataset[] = array_combine($headers, $value);
        }

        return Utils\format_items('table', $dataset, $headers);
    }
protected function table ( array $ headers , array $ data ) { $ dataset = [ ] ; foreach ( array_values ( $ data ) as $ value ) { $ dataset [ ] = array_combine ( $ headers , $ value ) ; } return Utils \ format_items ( 'table' , $ dataset , $ headers ) ; }
Render tabular data.

@param array $data

@return void
Render tabular data .