Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class MembersBuilder |
||
13 | { |
||
14 | /** @var MembersFilter[] */ |
||
15 | protected $filters; |
||
16 | |||
17 | /** @param MembersFilter */ |
||
18 | 114 | public function __construct(array $filters = []) |
|
19 | { |
||
20 | 114 | $this->filters = $filters; |
|
21 | 114 | } |
|
22 | |||
23 | /** |
||
24 | * @param \PhpParser\Node\Stmt\Property[]|\PhpParser\Node\Stmt\ClassMethod $classMembers |
||
25 | * @return \PhpParser\Node\Stmt\Property[]|\PhpParser\Node\Stmt\ClassMethod |
||
26 | */ |
||
27 | 93 | protected function runFilters(array $classMembers): array |
|
34 | } |
||
35 | |||
36 | /** @param \PhpParser\Node\Stmt\Property|\PhpParser\Node\Stmt\ClassMethod $member */ |
||
37 | 81 | protected function resolveVisibility($member): string |
|
46 | } |
||
47 | } |
||
49 |