| 1 | <?php |
||
| 21 | class TemplateQuery implements BuilderInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $inline; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | private $params; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $inline A template of the query |
||
| 35 | * @param array $params Parameters to insert into template |
||
| 36 | */ |
||
| 37 | public function __construct($inline, array $params) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getType() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function toArray() |
||
| 63 | } |
||
| 64 |