Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class IconColumn implements ColumnFormatter { |
||
14 | |||
15 | /** @var IconAdapter */ |
||
16 | private $_iconAdapter; |
||
17 | |||
18 | /** |
||
19 | * IconColumn constructor. |
||
20 | * @param IconAdapter $iconAdapter |
||
21 | */ |
||
22 | 1 | public function __construct(IconAdapter $iconAdapter) |
|
25 | 1 | } |
|
26 | |||
27 | /** |
||
28 | * @param Model $rowModel |
||
29 | * @param string $column |
||
30 | * @return string |
||
31 | */ |
||
32 | 1 | public function format(Model $rowModel, string $column) : string |
|
35 | } |
||
36 | } |