Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class Expression implements ExpressionInterface |
||
14 | { |
||
15 | |||
16 | use FactoryTrait; |
||
17 | |||
18 | /** |
||
19 | * @var DB |
||
20 | */ |
||
21 | protected $db; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $expression; |
||
27 | |||
28 | /** |
||
29 | * @param DB $db |
||
30 | * @param string $expression |
||
31 | */ |
||
32 | public function __construct(DB $db, string $expression) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function __toString() |
||
46 |