1 | <?php |
||
29 | class CouchDBBuilder extends AbstractManagerBuilder |
||
30 | { |
||
31 | /** |
||
32 | * Document Manager. |
||
33 | * |
||
34 | * @var DocumentManager |
||
35 | */ |
||
36 | protected $manager; |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | protected function getDefaultOptions() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | * |
||
54 | * @throws \InvalidArgumentException |
||
55 | * @throws \RuntimeException |
||
56 | * @throws \UnexpectedValueException |
||
57 | * |
||
58 | * @return DocumentManager |
||
59 | */ |
||
60 | public function getManager($force = false) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | protected function wipe() |
||
82 | |||
83 | /** |
||
84 | * Build Doctrine CouchDB Document Manager. |
||
85 | * |
||
86 | * @throws \InvalidArgumentException |
||
87 | * @throws \RuntimeException |
||
88 | * @throws \UnexpectedValueException |
||
89 | * |
||
90 | * @return DocumentManager |
||
91 | */ |
||
92 | protected function buildManager() |
||
111 | |||
112 | /** |
||
113 | * Set up general manager configurations. |
||
114 | * |
||
115 | * @param Configuration $config |
||
116 | */ |
||
117 | protected function setUpGeneralConfigurations(Configuration $config) |
||
128 | |||
129 | /** |
||
130 | * Set up manager specific configurations. |
||
131 | * |
||
132 | * @param Configuration $config |
||
133 | */ |
||
134 | protected function setUpSpecificConfigurations(Configuration $config) |
||
140 | |||
141 | /** |
||
142 | * {@inheritdoc} |
||
143 | */ |
||
144 | protected function getAnnotationMetadataDriver(array $paths) |
||
148 | |||
149 | /** |
||
150 | * {@inheritdoc} |
||
151 | */ |
||
152 | protected function getXmlMetadataDriver(array $paths, $extension = null) |
||
158 | |||
159 | /** |
||
160 | * {@inheritdoc} |
||
161 | */ |
||
162 | protected function getYamlMetadataDriver(array $paths, $extension = null) |
||
168 | |||
169 | /** |
||
170 | * {@inheritdoc} |
||
171 | * |
||
172 | * @throws \InvalidArgumentException |
||
173 | * |
||
174 | * @return RepositoryFactory|null |
||
175 | */ |
||
176 | protected function getRepositoryFactory() |
||
193 | |||
194 | /** |
||
195 | * Get Lucene handler name. |
||
196 | * |
||
197 | * @return string|null |
||
198 | */ |
||
199 | protected function getLuceneHandlerName() |
||
203 | |||
204 | /** |
||
205 | * {@inheritdoc} |
||
206 | * |
||
207 | * @throws \InvalidArgumentException |
||
208 | * @throws \RuntimeException |
||
209 | * @throws \Symfony\Component\Console\Exception\InvalidArgumentException |
||
210 | * @throws \Symfony\Component\Console\Exception\LogicException |
||
211 | * @throws \UnexpectedValueException |
||
212 | * |
||
213 | * @return Command[] |
||
214 | */ |
||
215 | public function getConsoleCommands() |
||
253 | |||
254 | /** |
||
255 | * {@inheritdoc} |
||
256 | * |
||
257 | * @throws \InvalidArgumentException |
||
258 | * @throws \RuntimeException |
||
259 | * @throws \UnexpectedValueException |
||
260 | */ |
||
261 | public function getConsoleHelperSet() |
||
269 | } |
||
270 |