1 | <?php |
||
8 | class DashboardItemRenderer implements WebRenderer { |
||
9 | |||
10 | /** @var RendererRegistry */ |
||
11 | private $renderers; |
||
12 | |||
13 | /** |
||
14 | * @param RendererRegistry $renderers |
||
15 | */ |
||
16 | public function __construct(RendererRegistry $renderers) { |
||
19 | |||
20 | /** |
||
21 | * @param mixed $value |
||
22 | * @return bool |
||
23 | */ |
||
24 | public function handles($value) { |
||
27 | |||
28 | /** |
||
29 | * @param DashboardItem $value |
||
30 | * @return string |
||
31 | */ |
||
32 | public function render($value) { |
||
35 | |||
36 | /** |
||
37 | * @param DashboardItem $value |
||
38 | * @return array|Element[] |
||
39 | */ |
||
40 | public function headElements($value) { |
||
43 | } |