Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class MatcherFactory implements MatcherFactoryInterface |
||
9 | { |
||
10 | |||
11 | private $valueFetcher; |
||
12 | |||
13 | public function __construct(ValueFetcherInterface $valueFetcher) |
||
14 | { |
||
15 | $this->valueFetcher = $valueFetcher; |
||
16 | } |
||
17 | |||
18 | public function matchAnyChild(): ChildMatcherInterface |
||
19 | { |
||
20 | return new AnyChildMatcher; |
||
21 | } |
||
22 | |||
23 | public function matchPropertyStrictly(string ...$nameList): ChildMatcherInterface |
||
26 | } |
||
27 | |||
28 | public function matchElementStrictly(int ...$indexList): ChildMatcherInterface |
||
31 | } |
||
32 | |||
33 | public function matchElementSlice(?int $start, ?int $end, ?int $step): ChildMatcherInterface |
||
38 |