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 \Doctrine\ODM\CouchDB\DocumentManager |
||
|
|||
91 | */ |
||
92 | protected function buildManager() |
||
121 | |||
122 | /** |
||
123 | * {@inheritdoc} |
||
124 | */ |
||
125 | protected function getAnnotationMetadataDriver(array $paths) |
||
129 | |||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | protected function getXmlMetadataDriver(array $paths, $extension = null) |
||
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | protected function getYamlMetadataDriver(array $paths, $extension = null) |
||
145 | |||
146 | /** |
||
147 | * {@inheritdoc} |
||
148 | * |
||
149 | * @throws \InvalidArgumentException |
||
150 | * |
||
151 | * @return DefaultRepositoryFactory|null |
||
152 | */ |
||
153 | protected function getRepositoryFactory() |
||
170 | |||
171 | /** |
||
172 | * Get Lucene handler name. |
||
173 | * |
||
174 | * @return string|null |
||
175 | */ |
||
176 | protected function getLuceneHandlerName() |
||
180 | |||
181 | /** |
||
182 | * {@inheritdoc} |
||
183 | * |
||
184 | * @throws \InvalidArgumentException |
||
185 | * @throws \RuntimeException |
||
186 | * @throws \Symfony\Component\Console\Exception\InvalidArgumentException |
||
187 | * @throws \Symfony\Component\Console\Exception\LogicException |
||
188 | * @throws \UnexpectedValueException |
||
189 | * |
||
190 | * @return Command[] |
||
191 | */ |
||
192 | public function getConsoleCommands() |
||
230 | |||
231 | /** |
||
232 | * {@inheritdoc} |
||
233 | * |
||
234 | * @throws \InvalidArgumentException |
||
235 | * @throws \RuntimeException |
||
236 | * @throws \UnexpectedValueException |
||
237 | */ |
||
238 | public function getConsoleHelperSet() |
||
246 | } |
||
247 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.