| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class TranslateHeader implements HeaderFormatter { |
||
| 14 | |||
| 15 | /** @var array */ |
||
| 16 | private $_translations; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * TranslatableHeader constructor. |
||
| 20 | * @param array $translations |
||
| 21 | */ |
||
| 22 | 1 | public function __construct(array $translations) |
|
| 25 | 1 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Format the given header. |
||
| 29 | * For example add a link to sort by this header/column. |
||
| 30 | * |
||
| 31 | * @param Header $header |
||
| 32 | */ |
||
| 33 | 1 | public function format(Header $header) : void |
|
| 42 | } |