| 1 | <?php |
||
| 12 | class SQLQuery extends Query implements MapperProvider |
||
| 13 | { |
||
| 14 | use Mappers; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $sql; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param TypeProvider $types |
||
| 23 | * @param string $sql SQL statement (with placeholders) |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(TypeProvider $types, $sql) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | 1 | public function getSQL() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | public function getMappers() |
||
| 47 | } |
||
| 48 |