Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | final class JsonExpressionBuilder implements ExpressionBuilderInterface |
||
22 | { |
||
23 | use ExpressionBuilderTrait; |
||
24 | |||
25 | public const PARAM_PREFIX = ':qp'; |
||
26 | |||
27 | /** |
||
28 | * @param JsonExpression|ExpressionInterface $expression the expression to be built |
||
29 | * @param array $params |
||
30 | * |
||
31 | * @throws JsonException |
||
32 | * @throws Exception |
||
33 | * @throws InvalidArgumentException |
||
34 | * @throws InvalidConfigException |
||
35 | * @throws NotSupportedException |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function build(ExpressionInterface $expression, array &$params = []): string |
||
55 |