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