1 | <?php |
||
6 | class RawExpression implements ExpressionInterface |
||
7 | { |
||
8 | /** @var string */ |
||
9 | protected $expression; |
||
10 | |||
11 | /** @var array */ |
||
12 | protected $bindings; |
||
13 | |||
14 | /** |
||
15 | * @param string $expression |
||
16 | * @param array $bindings |
||
17 | */ |
||
18 | 3 | public function __construct($expression, array $bindings = []) |
|
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | 3 | public function toSql() |
|
31 | |||
32 | /** |
||
33 | * @return array |
||
34 | */ |
||
35 | 1 | public function getBindings() |
|
39 | } |
||
40 |