Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class QueryConfig |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | private $query; |
||
13 | |||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | private $parameters; |
||
18 | |||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $types; |
||
23 | |||
24 | 9 | public function __construct(string $query, array $parameters = [], array $types = []) |
|
29 | 9 | } |
|
30 | |||
31 | 9 | public function getQuery(): string |
|
34 | } |
||
35 | |||
36 | 9 | public function getParameters(): array |
|
37 | { |
||
38 | 9 | return $this->parameters; |
|
39 | } |
||
40 | |||
41 | 9 | public function getTypes(): array |
|
44 | } |
||
45 | } |
||
46 |