| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class QueryFactory implements QueryFactoryInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | private $parser; |
||
| 13 | |||
| 14 | 2 | public static function create(): QueryFactoryInterface |
|
| 17 | } |
||
| 18 | |||
| 19 | 4 | public function __construct(ParserInterface $parser) |
|
| 20 | { |
||
| 21 | 4 | $this->parser = $parser; |
|
| 22 | 4 | } |
|
| 23 | |||
| 24 | 3 | public function createQuery(string $source): QueryInterface |
|
| 27 | } |
||
| 28 | } |
||
| 29 |