Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
FilterColumns
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\HtmlBuilders\Components\Resource;
3
4use Apie\Core\Lists\StringSet;
5use Apie\HtmlBuilders\Components\BaseComponent;
6
7class 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}