| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class MatcherFactory implements MatcherFactoryInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | 1 | public function matchAnyChild(): ChildMatcherInterface |
|
| 11 | { |
||
| 12 | 1 | return new AnyChildMatcher(); |
|
| 13 | } |
||
| 14 | |||
| 15 | 2 | public function matchPropertyStrictly(string ...$nameList): ChildMatcherInterface |
|
| 18 | } |
||
| 19 | |||
| 20 | 2 | public function matchElementStrictly(int ...$indexList): ChildMatcherInterface |
|
| 23 | } |
||
| 24 | |||
| 25 | 2 | public function matchElementSlice(?int $start, ?int $end, ?int $step): ChildMatcherInterface |
|
| 30 |