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