| 1 | <?php |
||
| 13 | final class Query |
||
| 14 | { |
||
| 15 | /** @var string */ |
||
| 16 | private $statement; |
||
| 17 | |||
| 18 | /** @var mixed[] */ |
||
| 19 | private $parameters; |
||
| 20 | |||
| 21 | /** @var mixed[] */ |
||
| 22 | private $types; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param mixed[] $parameters |
||
| 26 | * @param mixed[] $types |
||
| 27 | */ |
||
| 28 | 28 | public function __construct(string $statement, array $parameters = [], array $types = []) |
|
| 38 | |||
| 39 | 3 | public function __toString() : string |
|
| 43 | |||
| 44 | 13 | public function getStatement() : string |
|
| 48 | |||
| 49 | /** @return mixed[] */ |
||
| 50 | 12 | public function getParameters() : array |
|
| 54 | |||
| 55 | /** @return mixed[] */ |
||
| 56 | 12 | public function getTypes() : array |
|
| 60 | } |
||
| 61 |