1 | <?php |
||
15 | class ConjunctionConditionBuilder implements ExpressionBuilderInterface |
||
16 | { |
||
17 | use ExpressionBuilderTrait; |
||
18 | |||
19 | /** |
||
20 | * Method builds the raw SQL from the $expression that will not be additionally |
||
21 | * escaped or quoted. |
||
22 | * |
||
23 | * @param ExpressionInterface|ConjunctionCondition $condition the expression to be built. |
||
24 | * @param array $params the binding parameters. |
||
25 | * @return string the raw SQL that will not be additionally escaped or quoted. |
||
26 | */ |
||
27 | 227 | public function build(ExpressionInterface $condition, array &$params = []) |
|
41 | |||
42 | /** |
||
43 | * Builds expressions, that are stored in $condition |
||
44 | * |
||
45 | * @param ExpressionInterface|ConjunctionCondition $condition the expression to be built. |
||
46 | * @param array $params the binding parameters. |
||
47 | * @return string[] |
||
48 | */ |
||
49 | 227 | private function buildExpressionsFrom(ExpressionInterface $condition, &$params = []) |
|
66 | } |
||
67 |