1 | <?php |
||
9 | class DoctrineQueryBuilderVisitor extends GenericSqlVisitor |
||
10 | { |
||
11 | /** |
||
12 | * The root alias used by the query builder. |
||
13 | */ |
||
14 | const ROOT_ALIAS_PLACEHOLDER = '@@_ROOT_ALIAS_@@'; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $detectedJoins = []; |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function compile(Model\Rule $rule) |
||
31 | |||
32 | /** |
||
33 | * @inheritDoc |
||
34 | */ |
||
35 | public function supports($target, $mode) |
||
39 | |||
40 | /** |
||
41 | * @inheritDoc |
||
42 | */ |
||
43 | protected function getExecutorTraits() |
||
51 | |||
52 | /** |
||
53 | * @inheritDoc |
||
54 | */ |
||
55 | protected function getCompilationData() |
||
61 | |||
62 | /** |
||
63 | * {@inheritDoc} |
||
64 | */ |
||
65 | public function visitModel(AST\Model $element, &$handle = null, $eldnah = null) |
||
71 | |||
72 | /** |
||
73 | * {@inheritDoc} |
||
74 | */ |
||
75 | public function visitAccess(AST\Bag\Context $element, &$handle = null, $eldnah = null) |
||
97 | |||
98 | /** |
||
99 | * {@inheritDoc} |
||
100 | */ |
||
101 | public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) |
||
106 | |||
107 | protected function reset() |
||
111 | } |
||
112 |