Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
24 | final class JsonExpressionBuilder implements ExpressionBuilderInterface |
||
25 | { |
||
26 | public const PARAM_PREFIX = ':qp'; |
||
27 | |||
28 | 11 | public function __construct(private QueryBuilderInterface $queryBuilder) |
|
29 | { |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @throws Exception|InvalidArgumentException|InvalidConfigException|JsonException|NotSupportedException |
||
34 | */ |
||
35 | 11 | public function build(ExpressionInterface $expression, array &$params = []): string |
|
53 | } |
||
54 | } |
||
55 |