@@ -2307,6 +2307,7 @@ |
||
2307 | 2307 | |
2308 | 2308 | /** |
2309 | 2309 | * {@inheritdoc} |
2310 | + * @param boolean $isShown |
|
2310 | 2311 | */ |
2311 | 2312 | final public function showMosaicButton($isShown): void |
2312 | 2313 | { |
@@ -27,16 +27,34 @@ discard block |
||
27 | 27 | */ |
28 | 28 | interface AdminExtensionInterface |
29 | 29 | { |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
30 | 33 | public function configureFormFields(FormMapper $formMapper): void; |
31 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
32 | 38 | public function configureListFields(ListMapper $listMapper): void; |
33 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
34 | 43 | public function configureDatagridFilters(DatagridMapper $datagridMapper): void; |
35 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
36 | 48 | public function configureShowFields(ShowMapper $showMapper): void; |
37 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
38 | 53 | public function configureRoutes(AdminInterface $admin, RouteCollectionInterface $collection): void; |
39 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
40 | 58 | public function configureTabMenu( |
41 | 59 | AdminInterface $admin, |
42 | 60 | MenuItemInterface $menu, |
@@ -44,17 +62,25 @@ discard block |
||
44 | 62 | ?AdminInterface $childAdmin = null |
45 | 63 | ): void; |
46 | 64 | |
65 | + /** |
|
66 | + * @return void |
|
67 | + */ |
|
47 | 68 | public function validate(AdminInterface $admin, ErrorElement $errorElement, object $object): void; |
48 | 69 | |
70 | + /** |
|
71 | + * @return void |
|
72 | + */ |
|
49 | 73 | public function configureQuery(AdminInterface $admin, ProxyQueryInterface $query): void; |
50 | 74 | |
51 | 75 | /** |
52 | 76 | * Get a chance to modify a newly created instance. |
77 | + * @return void |
|
53 | 78 | */ |
54 | 79 | public function alterNewInstance(AdminInterface $admin, object $object): void; |
55 | 80 | |
56 | 81 | /** |
57 | 82 | * Get a chance to modify object instance. |
83 | + * @return void |
|
58 | 84 | */ |
59 | 85 | public function alterObject(AdminInterface $admin, object $object): void; |
60 | 86 | |
@@ -90,16 +116,34 @@ discard block |
||
90 | 116 | */ |
91 | 117 | public function configureExportFields(AdminInterface $admin, array $fields): array; |
92 | 118 | |
119 | + /** |
|
120 | + * @return void |
|
121 | + */ |
|
93 | 122 | public function preUpdate(AdminInterface $admin, object $object): void; |
94 | 123 | |
124 | + /** |
|
125 | + * @return void |
|
126 | + */ |
|
95 | 127 | public function postUpdate(AdminInterface $admin, object $object): void; |
96 | 128 | |
129 | + /** |
|
130 | + * @return void |
|
131 | + */ |
|
97 | 132 | public function prePersist(AdminInterface $admin, object $object): void; |
98 | 133 | |
134 | + /** |
|
135 | + * @return void |
|
136 | + */ |
|
99 | 137 | public function postPersist(AdminInterface $admin, object $object): void; |
100 | 138 | |
139 | + /** |
|
140 | + * @return void |
|
141 | + */ |
|
101 | 142 | public function preRemove(AdminInterface $admin, object $object): void; |
102 | 143 | |
144 | + /** |
|
145 | + * @return void |
|
146 | + */ |
|
103 | 147 | public function postRemove(AdminInterface $admin, object $object): void; |
104 | 148 | |
105 | 149 | /** |
@@ -116,6 +160,7 @@ discard block |
||
116 | 160 | * Returns a list of default filters. |
117 | 161 | * |
118 | 162 | * @param array $filterValues |
163 | + * @return void |
|
119 | 164 | */ |
120 | 165 | public function configureDefaultFilterValues(AdminInterface $admin, array &$filterValues): void; |
121 | 166 | |
@@ -123,6 +168,7 @@ discard block |
||
123 | 168 | * Returns a list of default sort values. |
124 | 169 | * |
125 | 170 | * @param array $sortValues |
171 | + * @return void |
|
126 | 172 | */ |
127 | 173 | public function configureDefaultSortValues(AdminInterface $admin, array &$sortValues): void; |
128 | 174 | } |
@@ -40,24 +40,54 @@ discard block |
||
40 | 40 | */ |
41 | 41 | interface AdminInterface extends AccessRegistryInterface, FieldDescriptionRegistryInterface, LifecycleHookProviderInterface, MenuBuilderInterface, ParentAdminInterface, UrlGeneratorInterface |
42 | 42 | { |
43 | + /** |
|
44 | + * @return void |
|
45 | + */ |
|
43 | 46 | public function setMenuFactory(FactoryInterface $menuFactory): void; |
44 | 47 | |
48 | + /** |
|
49 | + * @return FactoryInterface|null |
|
50 | + */ |
|
45 | 51 | public function getMenuFactory(): ?FactoryInterface; |
46 | 52 | |
53 | + /** |
|
54 | + * @return void |
|
55 | + */ |
|
47 | 56 | public function setFormContractor(FormContractorInterface $formContractor): void; |
48 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
49 | 61 | public function setListBuilder(ListBuilderInterface $listBuilder): void; |
50 | 62 | |
63 | + /** |
|
64 | + * @return ListBuilderInterface|null |
|
65 | + */ |
|
51 | 66 | public function getListBuilder(): ?ListBuilderInterface; |
52 | 67 | |
68 | + /** |
|
69 | + * @return void |
|
70 | + */ |
|
53 | 71 | public function setDatagridBuilder(DatagridBuilderInterface $datagridBuilder): void; |
54 | 72 | |
73 | + /** |
|
74 | + * @return DatagridBuilderInterface|null |
|
75 | + */ |
|
55 | 76 | public function getDatagridBuilder(): ?DatagridBuilderInterface; |
56 | 77 | |
78 | + /** |
|
79 | + * @return void |
|
80 | + */ |
|
57 | 81 | public function setTranslator(TranslatorInterface $translator): void; |
58 | 82 | |
83 | + /** |
|
84 | + * @return void |
|
85 | + */ |
|
59 | 86 | public function setRequest(Request $request): void; |
60 | 87 | |
88 | + /** |
|
89 | + * @return void |
|
90 | + */ |
|
61 | 91 | public function setConfigurationPool(Pool $pool): void; |
62 | 92 | |
63 | 93 | /** |
@@ -68,12 +98,16 @@ discard block |
||
68 | 98 | */ |
69 | 99 | public function getClass(): string; |
70 | 100 | |
101 | + /** |
|
102 | + * @return void |
|
103 | + */ |
|
71 | 104 | public function attachAdminClass(FieldDescriptionInterface $fieldDescription): void; |
72 | 105 | |
73 | 106 | public function getDatagrid(): DatagridInterface; |
74 | 107 | |
75 | 108 | /** |
76 | 109 | * Set base controller name. |
110 | + * @return void |
|
77 | 111 | */ |
78 | 112 | public function setBaseControllerName(string $baseControllerName): void; |
79 | 113 | |
@@ -86,20 +120,34 @@ discard block |
||
86 | 120 | * Sets a list of templates. |
87 | 121 | * |
88 | 122 | * @param array<string, string> $templates |
123 | + * @return void |
|
89 | 124 | */ |
90 | 125 | public function setTemplates(array $templates): void; |
91 | 126 | |
92 | 127 | /** |
93 | 128 | * Sets a specific template. |
129 | + * @return void |
|
94 | 130 | */ |
95 | 131 | public function setTemplate(string $name, string $template): void; |
96 | 132 | |
133 | + /** |
|
134 | + * @return void |
|
135 | + */ |
|
97 | 136 | public function setModelManager(ModelManagerInterface $modelManager): void; |
98 | 137 | |
138 | + /** |
|
139 | + * @return ModelManagerInterface|null |
|
140 | + */ |
|
99 | 141 | public function getModelManager(): ?ModelManagerInterface; |
100 | 142 | |
143 | + /** |
|
144 | + * @return void |
|
145 | + */ |
|
101 | 146 | public function setManagerType(string $managerType): void; |
102 | 147 | |
148 | + /** |
|
149 | + * @return string|null |
|
150 | + */ |
|
103 | 151 | public function getManagerType(): ?string; |
104 | 152 | |
105 | 153 | public function createQuery(): ProxyQueryInterface; |
@@ -132,6 +180,9 @@ discard block |
||
132 | 180 | */ |
133 | 181 | public function getSecurityInformation(): array; |
134 | 182 | |
183 | + /** |
|
184 | + * @return void |
|
185 | + */ |
|
135 | 186 | public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription): void; |
136 | 187 | |
137 | 188 | public function getParentFieldDescription(): FieldDescriptionInterface; |
@@ -151,8 +202,14 @@ discard block |
||
151 | 202 | */ |
152 | 203 | public function hasRoute(string $name): bool; |
153 | 204 | |
205 | + /** |
|
206 | + * @return void |
|
207 | + */ |
|
154 | 208 | public function setSecurityHandler(SecurityHandlerInterface $securityHandler): void; |
155 | 209 | |
210 | + /** |
|
211 | + * @return SecurityHandlerInterface |
|
212 | + */ |
|
156 | 213 | public function getSecurityHandler(): ?SecurityHandlerInterface; |
157 | 214 | |
158 | 215 | public function isGranted(string $name, ?object $object = null): bool; |
@@ -164,17 +221,25 @@ discard block |
||
164 | 221 | |
165 | 222 | /** |
166 | 223 | * Shorthand method for templating. |
224 | + * @return string |
|
167 | 225 | */ |
168 | 226 | public function id(object $model): ?string; |
169 | 227 | |
228 | + /** |
|
229 | + * @return void |
|
230 | + */ |
|
170 | 231 | public function setValidator(ValidatorInterface $validator): void; |
171 | 232 | |
233 | + /** |
|
234 | + * @return ValidatorInterface|null |
|
235 | + */ |
|
172 | 236 | public function getValidator(): ?ValidatorInterface; |
173 | 237 | |
174 | 238 | public function getShow(): FieldDescriptionCollection; |
175 | 239 | |
176 | 240 | /** |
177 | 241 | * @param string[] $formTheme |
242 | + * @return void |
|
178 | 243 | */ |
179 | 244 | public function setFormTheme(array $formTheme): void; |
180 | 245 | |
@@ -187,6 +252,7 @@ discard block |
||
187 | 252 | |
188 | 253 | /** |
189 | 254 | * @param string[] $filterTheme |
255 | + * @return void |
|
190 | 256 | */ |
191 | 257 | public function setFilterTheme(array $filterTheme): void; |
192 | 258 | |
@@ -195,6 +261,9 @@ discard block |
||
195 | 261 | */ |
196 | 262 | public function getFilterTheme(): array; |
197 | 263 | |
264 | + /** |
|
265 | + * @return void |
|
266 | + */ |
|
198 | 267 | public function addExtension(AdminExtensionInterface $extension): void; |
199 | 268 | |
200 | 269 | /** |
@@ -204,14 +273,26 @@ discard block |
||
204 | 273 | */ |
205 | 274 | public function getExtensions(): array; |
206 | 275 | |
276 | + /** |
|
277 | + * @return void |
|
278 | + */ |
|
207 | 279 | public function setRouteBuilder(RouteBuilderInterface $routeBuilder): void; |
208 | 280 | |
281 | + /** |
|
282 | + * @return RouteBuilderInterface|null |
|
283 | + */ |
|
209 | 284 | public function getRouteBuilder(): ?RouteBuilderInterface; |
210 | 285 | |
211 | 286 | public function toString(?object $object): string; |
212 | 287 | |
288 | + /** |
|
289 | + * @return void |
|
290 | + */ |
|
213 | 291 | public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy): void; |
214 | 292 | |
293 | + /** |
|
294 | + * @return LabelTranslatorStrategyInterface|null |
|
295 | + */ |
|
215 | 296 | public function getLabelTranslatorStrategy(): ?LabelTranslatorStrategyInterface; |
216 | 297 | |
217 | 298 | /** |
@@ -223,6 +304,9 @@ discard block |
||
223 | 304 | |
224 | 305 | public function getNewInstance(): object; |
225 | 306 | |
307 | + /** |
|
308 | + * @return void |
|
309 | + */ |
|
226 | 310 | public function setUniqid(string $uniqId): void; |
227 | 311 | |
228 | 312 | public function getUniqid(): string; |
@@ -234,6 +318,9 @@ discard block |
||
234 | 318 | */ |
235 | 319 | public function getObject($id): ?object; |
236 | 320 | |
321 | + /** |
|
322 | + * @return void |
|
323 | + */ |
|
237 | 324 | public function setSubject(?object $subject): void; |
238 | 325 | |
239 | 326 | public function getSubject(): object; |
@@ -258,6 +345,7 @@ discard block |
||
258 | 345 | * Call before the batch action, allow you to alter the query and the idx. |
259 | 346 | * |
260 | 347 | * @param mixed[] $idx |
348 | + * @return void |
|
261 | 349 | */ |
262 | 350 | public function preBatchAction(string $actionName, ProxyQueryInterface $query, array &$idx, bool $allElements = false): void; |
263 | 351 | |
@@ -278,6 +366,7 @@ discard block |
||
278 | 366 | * |
279 | 367 | * @deprecated this feature cannot be stable, use a custom validator, |
280 | 368 | * the feature will be removed with Symfony 2.2 |
369 | + * @return void |
|
281 | 370 | */ |
282 | 371 | public function validate(ErrorElement $errorElement, object $object): void; |
283 | 372 | |
@@ -285,11 +374,15 @@ discard block |
||
285 | 374 | |
286 | 375 | /** |
287 | 376 | * Add object security, fe. make the current user owner of the object. |
377 | + * @return void |
|
288 | 378 | */ |
289 | 379 | public function createObjectSecurity(object $object): void; |
290 | 380 | |
291 | 381 | public function getParent(): self; |
292 | 382 | |
383 | + /** |
|
384 | + * @return void |
|
385 | + */ |
|
293 | 386 | public function setParent(self $admin): void; |
294 | 387 | |
295 | 388 | /** |
@@ -297,6 +390,9 @@ discard block |
||
297 | 390 | */ |
298 | 391 | public function isChild(): bool; |
299 | 392 | |
393 | + /** |
|
394 | + * @return void |
|
395 | + */ |
|
300 | 396 | public function setTranslationDomain(string $translationDomain): void; |
301 | 397 | |
302 | 398 | public function getTranslationDomain(): string; |
@@ -308,6 +404,7 @@ discard block |
||
308 | 404 | |
309 | 405 | /** |
310 | 406 | * @param array<string, mixed> $formGroups |
407 | + * @return void |
|
311 | 408 | */ |
312 | 409 | public function setFormGroups(array $formGroups): void; |
313 | 410 | |
@@ -318,6 +415,7 @@ discard block |
||
318 | 415 | |
319 | 416 | /** |
320 | 417 | * @param array<string, mixed> $formTabs |
418 | + * @return void |
|
321 | 419 | */ |
322 | 420 | public function setFormTabs(array $formTabs): void; |
323 | 421 | |
@@ -328,9 +426,13 @@ discard block |
||
328 | 426 | |
329 | 427 | /** |
330 | 428 | * @param array<string, mixed> $showTabs |
429 | + * @return void |
|
331 | 430 | */ |
332 | 431 | public function setShowTabs(array $showTabs): void; |
333 | 432 | |
433 | + /** |
|
434 | + * @return void |
|
435 | + */ |
|
334 | 436 | public function removeFieldFromFormGroup(string $key): void; |
335 | 437 | |
336 | 438 | /** |
@@ -340,6 +442,7 @@ discard block |
||
340 | 442 | |
341 | 443 | /** |
342 | 444 | * @param array<string, mixed> $showGroups |
445 | + * @return void |
|
343 | 446 | */ |
344 | 447 | public function setShowGroups(array $showGroups): void; |
345 | 448 | |
@@ -347,6 +450,7 @@ discard block |
||
347 | 450 | * Reorder items in showGroup. |
348 | 451 | * |
349 | 452 | * @param string[] $keys |
453 | + * @return void |
|
350 | 454 | */ |
351 | 455 | public function reorderShowGroup(string $group, array $keys): void; |
352 | 456 | |
@@ -366,6 +470,7 @@ discard block |
||
366 | 470 | * Sets the list of supported sub classes. |
367 | 471 | * |
368 | 472 | * @param array<string, class-string> $subClasses |
473 | + * @return void |
|
369 | 474 | */ |
370 | 475 | public function setSubClasses(array $subClasses): void; |
371 | 476 | |
@@ -398,6 +503,7 @@ discard block |
||
398 | 503 | |
399 | 504 | /** |
400 | 505 | * Returns Admin`s label. |
506 | + * @return string|null |
|
401 | 507 | */ |
402 | 508 | public function getLabel(): ?string; |
403 | 509 | |
@@ -412,6 +518,7 @@ discard block |
||
412 | 518 | |
413 | 519 | /** |
414 | 520 | * Set the current child status. |
521 | + * @return void |
|
415 | 522 | */ |
416 | 523 | public function setCurrentChild(bool $currentChild): void; |
417 | 524 | |
@@ -435,6 +542,9 @@ discard block |
||
435 | 542 | */ |
436 | 543 | public function getListModes(): array; |
437 | 544 | |
545 | + /** |
|
546 | + * @return void |
|
547 | + */ |
|
438 | 548 | public function setListMode(string $mode): void; |
439 | 549 | |
440 | 550 | /** |
@@ -463,12 +573,14 @@ discard block |
||
463 | 573 | |
464 | 574 | /** |
465 | 575 | * Returns the result link for an object. |
576 | + * @return string|null |
|
466 | 577 | */ |
467 | 578 | public function getSearchResultLink(object $object): ?string; |
468 | 579 | |
469 | 580 | /** |
470 | 581 | * Setting to true will enable mosaic button for the admin screen. |
471 | 582 | * Setting to false will hide mosaic button for the admin screen. |
583 | + * @return void |
|
472 | 584 | */ |
473 | 585 | public function showMosaicButton(bool $isShown): void; |
474 | 586 | |
@@ -494,6 +606,9 @@ discard block |
||
494 | 606 | */ |
495 | 607 | public function getRootCode(): string; |
496 | 608 | |
609 | + /** |
|
610 | + * @return void |
|
611 | + */ |
|
497 | 612 | public function setFilterPersister(?FilterPersisterInterface $filterPersister = null): void; |
498 | 613 | |
499 | 614 | /** |
@@ -506,14 +621,24 @@ discard block |
||
506 | 621 | */ |
507 | 622 | public function getBaseRouteName(): string; |
508 | 623 | |
624 | + /** |
|
625 | + * @param AbstractAdmin $childAdmin |
|
626 | + */ |
|
509 | 627 | public function getSideMenu(string $action, ?self $childAdmin = null): ItemInterface; |
510 | 628 | |
629 | + /** |
|
630 | + * @return void |
|
631 | + */ |
|
511 | 632 | public function addParentAssociationMapping(string $code, string $value): void; |
512 | 633 | |
634 | + /** |
|
635 | + * @return RouteGeneratorInterface|null |
|
636 | + */ |
|
513 | 637 | public function getRouteGenerator(): ?RouteGeneratorInterface; |
514 | 638 | |
515 | 639 | /** |
516 | 640 | * Returns the current child admin instance. |
641 | + * @return AdminInterface|null |
|
517 | 642 | */ |
518 | 643 | public function getCurrentChildAdmin(): ?self; |
519 | 644 | |
@@ -525,12 +650,14 @@ discard block |
||
525 | 650 | |
526 | 651 | /** |
527 | 652 | * @param string[] $keys |
653 | + * @return void |
|
528 | 654 | */ |
529 | 655 | public function reorderFormGroup(string $group, array $keys): void; |
530 | 656 | |
531 | 657 | /** |
532 | 658 | * This method is being called by the main admin class and the child class, |
533 | 659 | * the getFormBuilder is only call by the main admin class. |
660 | + * @return void |
|
534 | 661 | */ |
535 | 662 | public function defineFormBuilder(FormBuilderInterface $formBuilder): void; |
536 | 663 | } |
@@ -18,14 +18,24 @@ discard block |
||
18 | 18 | */ |
19 | 19 | interface FieldDescriptionInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function setFieldName(?string $fieldName): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return string |
|
28 | + */ |
|
23 | 29 | public function getFieldName(): ?string; |
24 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
25 | 34 | public function setName(?string $name): void; |
26 | 35 | |
27 | 36 | /** |
28 | 37 | * Returns the name, the name can be used as a form label or table header. |
38 | + * @return string|null |
|
29 | 39 | */ |
30 | 40 | public function getName(): ?string; |
31 | 41 | |
@@ -42,6 +52,7 @@ discard block |
||
42 | 52 | * Define an option, an option is has a name and a value. |
43 | 53 | * |
44 | 54 | * @param mixed $value |
55 | + * @return void |
|
45 | 56 | */ |
46 | 57 | public function setOption(string $name, $value): void; |
47 | 58 | |
@@ -53,6 +64,7 @@ discard block |
||
53 | 64 | * Then the value are copied across to the related property value. |
54 | 65 | * |
55 | 66 | * @param array<string, mixed> $options |
67 | + * @return void |
|
56 | 68 | */ |
57 | 69 | public function setOptions(array $options): void; |
58 | 70 | |
@@ -65,21 +77,30 @@ discard block |
||
65 | 77 | |
66 | 78 | /** |
67 | 79 | * Sets the template used to render the field. |
80 | + * @return void |
|
68 | 81 | */ |
69 | 82 | public function setTemplate(?string $template): void; |
70 | 83 | |
84 | + /** |
|
85 | + * @return string|null |
|
86 | + */ |
|
71 | 87 | public function getTemplate(): ?string; |
72 | 88 | |
73 | 89 | /** |
74 | 90 | * Sets the field type. The type is a mandatory field as it's used to select the correct template |
75 | 91 | * or the logic associated to the current FieldDescription object. |
92 | + * @return void |
|
76 | 93 | */ |
77 | 94 | public function setType(?string $type): void; |
78 | 95 | |
96 | + /** |
|
97 | + * @return string |
|
98 | + */ |
|
79 | 99 | public function getType(): ?string; |
80 | 100 | |
81 | 101 | /** |
82 | 102 | * set the parent Admin (only used in nested admin). |
103 | + * @return void |
|
83 | 104 | */ |
84 | 105 | public function setParent(AdminInterface $parent): void; |
85 | 106 | |
@@ -104,6 +125,7 @@ discard block |
||
104 | 125 | |
105 | 126 | /** |
106 | 127 | * Returns the related Target object model. |
128 | + * @return string |
|
107 | 129 | */ |
108 | 130 | public function getTargetModel(): ?string; |
109 | 131 | |
@@ -137,6 +159,7 @@ discard block |
||
137 | 159 | |
138 | 160 | /** |
139 | 161 | * Set the association admin instance (only used if the field is linked to an Admin). |
162 | + * @return void |
|
140 | 163 | */ |
141 | 164 | public function setAssociationAdmin(AdminInterface $associationAdmin); |
142 | 165 | |
@@ -161,6 +184,9 @@ discard block |
||
161 | 184 | */ |
162 | 185 | public function getValue(object $object); |
163 | 186 | |
187 | + /** |
|
188 | + * @return void |
|
189 | + */ |
|
164 | 190 | public function setAdmin(AdminInterface $admin): void; |
165 | 191 | |
166 | 192 | /** |
@@ -176,6 +202,7 @@ discard block |
||
176 | 202 | * @param array $options |
177 | 203 | * |
178 | 204 | * @throws \RuntimeException |
205 | + * @return void |
|
179 | 206 | */ |
180 | 207 | public function mergeOption(string $name, array $options = []): void; |
181 | 208 | |
@@ -183,6 +210,7 @@ discard block |
||
183 | 210 | * Merge options values. |
184 | 211 | * |
185 | 212 | * @param array $options |
213 | + * @return void |
|
186 | 214 | */ |
187 | 215 | public function mergeOptions(array $options = []): void; |
188 | 216 | |
@@ -190,6 +218,7 @@ discard block |
||
190 | 218 | * set the original mapping type (only used if the field is linked to an entity). |
191 | 219 | * |
192 | 220 | * @param int|string $mappingType |
221 | + * @return void |
|
193 | 222 | */ |
194 | 223 | public function setMappingType($mappingType): void; |
195 | 224 |
@@ -34,6 +34,9 @@ |
||
34 | 34 | */ |
35 | 35 | public function getRouterIdParameter(): string; |
36 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
37 | 40 | public function setRouteGenerator(RouteGeneratorInterface $routeGenerator): void; |
38 | 41 | |
39 | 42 | /** |