Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
5 / 5 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
FilterColumns | |
100.00% |
5 / 5 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
5 / 5 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | namespace Apie\HtmlBuilders\Components\Resource; |
3 | |
4 | use Apie\Core\Lists\StringSet; |
5 | use Apie\HtmlBuilders\Components\BaseComponent; |
6 | |
7 | class FilterColumns extends BaseComponent |
8 | { |
9 | /** |
10 | * @param array<string, string> $currentFilter |
11 | */ |
12 | public function __construct(StringSet $filters, string $textSearch, array $currentFilter) |
13 | { |
14 | parent::__construct([ |
15 | 'textSearch' => $textSearch, |
16 | 'currentFilter' => $currentFilter, |
17 | 'filters' => $filters, |
18 | ]); |
19 | } |
20 | } |