| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class MatcherFactory extends SimpleFactory |
||
| 13 | { |
||
| 14 | /** @var Matcher\JsonMatcher */ |
||
| 15 | private $matcher; |
||
| 16 | |||
| 17 | public function __construct() |
||
| 18 | { |
||
| 19 | $orMatcher = $this->buildOrMatcher(); |
||
| 20 | $this->matcher = new Matcher\JsonMatcher($orMatcher); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function createMatcher(): Matcher |
||
| 26 | } |
||
| 27 | } |
||
| 28 |