1 | <?php |
||
15 | class DynamicSearchBuilder extends RawSearchBuilder implements DynamicSearchBuilderInterface |
||
16 | { |
||
17 | use DynamicVariablesAttributeTrait; |
||
18 | |||
19 | /** |
||
20 | * The opening variable character |
||
21 | */ |
||
22 | const VARIABLE_OPENING = '{{'; |
||
23 | |||
24 | /** |
||
25 | * The closing variable character |
||
26 | */ |
||
27 | const VARIABLE_CLOSING = '}}'; |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | public function build(): string |
||
36 | |||
37 | /** |
||
38 | * @param string $soql |
||
39 | * @return string |
||
40 | */ |
||
41 | private function prepareSearch(string $soql): string |
||
55 | |||
56 | /** |
||
57 | * @param array $variables |
||
58 | * @return array |
||
59 | */ |
||
60 | private function getReplacingAttributes(array $variables = []) |
||
73 | } |
||
74 |