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