CallableRenderer
class CallableRenderer implements RenderCellInterface (View source)
Properties
protected callable | $renderFunction |
Methods
__construct(callable $renderFunction)
No description
mixed
renderCell(string $key, mixed $cellData, FormatterOptions $options, array $rowData)
Convert the contents of one table cell into a string, so that it may be placed in the table. Renderer should return the $cellData passed to it if it does not wish to process it.
Details
__construct(callable $renderFunction)
No description
mixed
renderCell(string $key, mixed $cellData, FormatterOptions $options, array $rowData)
Convert the contents of one table cell into a string, so that it may be placed in the table. Renderer should return the $cellData passed to it if it does not wish to process it.