1 | <?php |
||
24 | abstract class AbstractBuilder implements BuilderInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var TableFactoryInterface |
||
28 | */ |
||
29 | private $tableFactory; |
||
30 | |||
31 | /** |
||
32 | * @var QueryCompilerInterface |
||
33 | */ |
||
34 | private $queryCompiler; |
||
35 | |||
36 | /** |
||
37 | * @var ParameterCollectionInterface |
||
38 | */ |
||
39 | private $parameterCollection; |
||
40 | |||
41 | /** |
||
42 | * @var ReferenceCollectionInterface |
||
43 | */ |
||
44 | private $referenceCollection; |
||
45 | |||
46 | /** |
||
47 | * @var QueryFactoryInterface |
||
48 | */ |
||
49 | private $queryFactory; |
||
50 | |||
51 | /** |
||
52 | * @param TableFactoryInterface $tableFactory |
||
53 | * @param QueryCompilerInterface $queryCompiler |
||
54 | * @param QueryFactoryInterface $queryFactory |
||
55 | * @param array $options |
||
56 | */ |
||
57 | 6 | public function __construct( |
|
70 | |||
71 | /** |
||
72 | * @return BuilderInterface |
||
73 | */ |
||
74 | 3 | public function getQueryBuilder() |
|
78 | |||
79 | /** |
||
80 | * @return TableFactoryInterface |
||
81 | */ |
||
82 | 1 | public function getTableFactory() |
|
86 | |||
87 | /** |
||
88 | * @return QueryCompilerInterface |
||
89 | */ |
||
90 | 3 | public function getQueryCompiler() |
|
94 | |||
95 | /** |
||
96 | * @return ParameterCollectionInterface |
||
97 | */ |
||
98 | 3 | public function getParameters() |
|
102 | |||
103 | /** |
||
104 | * @return ReferenceCollectionInterface |
||
105 | */ |
||
106 | 3 | public function getReferences() |
|
110 | |||
111 | /** |
||
112 | * @inheritdoc |
||
113 | */ |
||
114 | 2 | public function buildSQL() |
|
118 | |||
119 | /** |
||
120 | * @inheritdoc |
||
121 | */ |
||
122 | 1 | public function objectToString($object) |
|
126 | |||
127 | /** |
||
128 | * @inheritdoc |
||
129 | */ |
||
130 | 1 | public function setParameter($name, $value) |
|
137 | |||
138 | /** |
||
139 | * @param mixed $connectionHint |
||
140 | * |
||
141 | * @return Query |
||
142 | */ |
||
143 | 1 | public function buildQuery($connectionHint = 'default') |
|
151 | } |