Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class QueryBuilder |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | protected $queryClasses = []; |
||
11 | |||
12 | /** |
||
13 | * @var QueryBuilder |
||
14 | */ |
||
15 | protected static $instance; |
||
16 | |||
17 | public static function getInstance() |
||
24 | } |
||
25 | |||
26 | public function newQuery(Mapper $mapper): Query |
||
31 | } |
||
32 | |||
33 | protected function getQueryClass(Mapper $mapper) |
||
48 |