Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | trait FiltersData |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $keysToFilter = []; |
||
13 | |||
14 | /** |
||
15 | * @param array $keysToFilter |
||
16 | * @return mixed |
||
17 | */ |
||
18 | public function filterKeys(array $keysToFilter) : self |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param array $values |
||
27 | * @return array |
||
28 | */ |
||
29 | private function filter(array $values) : array |
||
44 |