| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class LetClause extends Clause |
||
| 11 | { |
||
| 12 | protected string|QueryBuilder|Expression $variableName; |
||
| 13 | |||
| 14 | protected mixed $expression; |
||
| 15 | |||
| 16 | 4 | public function __construct( |
|
| 17 | string|QueryBuilder|Expression $variableName, |
||
| 18 | mixed $expression |
||
| 19 | ) { |
||
| 20 | 4 | parent::__construct(); |
|
| 21 | |||
| 22 | 4 | $this->variableName = $variableName; |
|
| 23 | 4 | $this->expression = $expression; |
|
| 24 | } |
||
| 25 | |||
| 26 | 4 | public function compile(QueryBuilder $queryBuilder): string |
|
| 37 | } |
||
| 38 | } |
||
| 39 |