| 1 | <?php |
||
| 8 | abstract class BaseRenderer |
||
| 9 | { |
||
| 10 | use Configurable; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * HTML ID of container |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $id = ''; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * BaseRenderer constructor. |
||
| 20 | * @param $config |
||
| 21 | * @throws \Woo\GridView\Exceptions\GridViewConfigException |
||
| 22 | */ |
||
| 23 | public function __construct($config) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | protected function configTests(): array |
||
| 41 | |||
| 42 | public abstract function render(GridView $view) : string; |
||
| 43 | } |