@@ -43,7 +43,7 @@ |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @param FieldDescriptionInterface|string $name |
|
46 | + * @param \Sonata\AdminBundle\Admin\BaseFieldDescription $name |
|
47 | 47 | */ |
48 | 48 | public function addIdentifier($name, ?string $type = null, array $fieldDescriptionOptions = []): self |
49 | 49 | { |
@@ -414,6 +414,10 @@ |
||
414 | 414 | ); |
415 | 415 | } |
416 | 416 | |
417 | + /** |
|
418 | + * @param string $name |
|
419 | + * @param string $label |
|
420 | + */ |
|
417 | 421 | private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription |
418 | 422 | { |
419 | 423 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |
@@ -70,6 +70,9 @@ |
||
70 | 70 | */ |
71 | 71 | protected $propertyAccessor; |
72 | 72 | |
73 | + /** |
|
74 | + * @param PropertyAccessorInterface $propertyAccessor |
|
75 | + */ |
|
73 | 76 | public function __construct( |
74 | 77 | ContainerInterface $container, |
75 | 78 | string $title, |
@@ -182,6 +182,9 @@ |
||
182 | 182 | return $acls; |
183 | 183 | } |
184 | 184 | |
185 | + /** |
|
186 | + * @param UserSecurityIdentity $securityIdentity |
|
187 | + */ |
|
185 | 188 | public function addObjectOwner(AclInterface $acl, ?UserSecurityIdentity $securityIdentity = null): void |
186 | 189 | { |
187 | 190 | if (!$acl instanceof MutableAclInterface) { |
@@ -1093,6 +1093,9 @@ discard block |
||
1093 | 1093 | return $this->routeGenerator->hasAdminRoute($this, $name); |
1094 | 1094 | } |
1095 | 1095 | |
1096 | + /** |
|
1097 | + * @param string $adminCode |
|
1098 | + */ |
|
1096 | 1099 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
1097 | 1100 | { |
1098 | 1101 | if (!$this->hasRequest()) { |
@@ -1351,6 +1354,9 @@ discard block |
||
1351 | 1354 | return $this->baseControllerName; |
1352 | 1355 | } |
1353 | 1356 | |
1357 | + /** |
|
1358 | + * @param string $label |
|
1359 | + */ |
|
1354 | 1360 | public function setLabel(?string $label): void |
1355 | 1361 | { |
1356 | 1362 | $this->label = $label; |
@@ -2025,6 +2031,7 @@ discard block |
||
2025 | 2031 | * |
2026 | 2032 | * NEXT_MAJOR: remove this method |
2027 | 2033 | * |
2034 | + * @param string $domain |
|
2028 | 2035 | * @return string the translated string |
2029 | 2036 | * |
2030 | 2037 | * @deprecated since sonata-project/admin-bundle 3.9, to be removed with 4.0 |
@@ -2206,6 +2213,9 @@ discard block |
||
2206 | 2213 | return $this->managerType; |
2207 | 2214 | } |
2208 | 2215 | |
2216 | + /** |
|
2217 | + * @param string $type |
|
2218 | + */ |
|
2209 | 2219 | public function setManagerType(?string $type): void |
2210 | 2220 | { |
2211 | 2221 | $this->managerType = $type; |
@@ -2659,6 +2669,7 @@ discard block |
||
2659 | 2669 | |
2660 | 2670 | /** |
2661 | 2671 | * {@inheritdoc} |
2672 | + * @param boolean $isShown |
|
2662 | 2673 | */ |
2663 | 2674 | final public function showMosaicButton($isShown): void |
2664 | 2675 | { |
@@ -2806,6 +2817,7 @@ discard block |
||
2806 | 2817 | * NEXT_MAJOR: remove this method. |
2807 | 2818 | * |
2808 | 2819 | * @deprecated Use configureTabMenu instead |
2820 | + * @param string $action |
|
2809 | 2821 | */ |
2810 | 2822 | protected function configureSideMenu(ItemInterface $menu, $action, ?AdminInterface $childAdmin = null): void |
2811 | 2823 | { |
@@ -40,26 +40,59 @@ 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(MenuFactoryInterface $menuFactory): void; |
44 | 47 | |
48 | + /** |
|
49 | + * @return MenuFactoryInterface |
|
50 | + */ |
|
45 | 51 | public function getMenuFactory(): ?MenuFactoryInterface; |
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 |
|
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 |
|
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 TranslatorInterface |
|
85 | + */ |
|
59 | 86 | public function getTranslator(): ?TranslatorInterface; |
60 | 87 | |
88 | + /** |
|
89 | + * @return void |
|
90 | + */ |
|
61 | 91 | public function setRequest(Request $request): void; |
62 | 92 | |
93 | + /** |
|
94 | + * @return void |
|
95 | + */ |
|
63 | 96 | public function setConfigurationPool(Pool $pool): void; |
64 | 97 | |
65 | 98 | /** |
@@ -70,12 +103,16 @@ discard block |
||
70 | 103 | */ |
71 | 104 | public function getClass(): string; |
72 | 105 | |
106 | + /** |
|
107 | + * @return void |
|
108 | + */ |
|
73 | 109 | public function attachAdminClass(FieldDescriptionInterface $fieldDescription): void; |
74 | 110 | |
75 | 111 | public function getDatagrid(): DatagridInterface; |
76 | 112 | |
77 | 113 | /** |
78 | 114 | * Set base controller name. |
115 | + * @return void |
|
79 | 116 | */ |
80 | 117 | public function setBaseControllerName(string $baseControllerName): void; |
81 | 118 | |
@@ -86,14 +123,19 @@ discard block |
||
86 | 123 | |
87 | 124 | /** |
88 | 125 | * Sets a list of templates. |
126 | + * @return void |
|
89 | 127 | */ |
90 | 128 | public function setTemplates(array $templates): void; |
91 | 129 | |
92 | 130 | /** |
93 | 131 | * Sets a specific template. |
132 | + * @return void |
|
94 | 133 | */ |
95 | 134 | public function setTemplate(string $name, string $template): void; |
96 | 135 | |
136 | + /** |
|
137 | + * @return ModelManagerInterface |
|
138 | + */ |
|
97 | 139 | public function getModelManager(): ?ModelManagerInterface; |
98 | 140 | |
99 | 141 | /** |
@@ -113,6 +155,7 @@ discard block |
||
113 | 155 | |
114 | 156 | /** |
115 | 157 | * Returns a form depend on the given $object. |
158 | + * @return \Symfony\Component\Form\Form|null |
|
116 | 159 | */ |
117 | 160 | public function getForm(): ?FormInterface; |
118 | 161 | |
@@ -143,6 +186,9 @@ discard block |
||
143 | 186 | */ |
144 | 187 | public function getSecurityInformation(): array; |
145 | 188 | |
189 | + /** |
|
190 | + * @return void |
|
191 | + */ |
|
146 | 192 | public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription): void; |
147 | 193 | |
148 | 194 | /** |
@@ -182,8 +228,14 @@ discard block |
||
182 | 228 | */ |
183 | 229 | public function hasRoute(string $name): bool; |
184 | 230 | |
231 | + /** |
|
232 | + * @return void |
|
233 | + */ |
|
185 | 234 | public function setSecurityHandler(SecurityHandlerInterface $securityHandler): void; |
186 | 235 | |
236 | + /** |
|
237 | + * @return SecurityHandlerInterface |
|
238 | + */ |
|
187 | 239 | public function getSecurityHandler(): ?SecurityHandlerInterface; |
188 | 240 | |
189 | 241 | /** |
@@ -202,17 +254,33 @@ discard block |
||
202 | 254 | * Shorthand method for templating. |
203 | 255 | * |
204 | 256 | * @param object $model |
257 | + * @return string |
|
205 | 258 | */ |
206 | 259 | public function id($model): ?string; |
207 | 260 | |
261 | + /** |
|
262 | + * @return void |
|
263 | + */ |
|
208 | 264 | public function setValidator(ValidatorInterface $validator): void; |
209 | 265 | |
266 | + /** |
|
267 | + * @return ValidatorInterface |
|
268 | + */ |
|
210 | 269 | public function getValidator(): ?ValidatorInterface; |
211 | 270 | |
271 | + /** |
|
272 | + * @return FieldDescriptionCollection|null |
|
273 | + */ |
|
212 | 274 | public function getShow(): ?FieldDescriptionCollection; |
213 | 275 | |
276 | + /** |
|
277 | + * @return void |
|
278 | + */ |
|
214 | 279 | public function setFormTheme(array $formTheme): void; |
215 | 280 | |
281 | + /** |
|
282 | + * @return FieldDescriptionCollection|null |
|
283 | + */ |
|
216 | 284 | public function getList(): ?FieldDescriptionCollection; |
217 | 285 | |
218 | 286 | /** |
@@ -220,6 +288,9 @@ discard block |
||
220 | 288 | */ |
221 | 289 | public function getFormTheme(): array; |
222 | 290 | |
291 | + /** |
|
292 | + * @return void |
|
293 | + */ |
|
223 | 294 | public function setFilterTheme(array $filterTheme): void; |
224 | 295 | |
225 | 296 | /** |
@@ -227,6 +298,9 @@ discard block |
||
227 | 298 | */ |
228 | 299 | public function getFilterTheme(): array; |
229 | 300 | |
301 | + /** |
|
302 | + * @return void |
|
303 | + */ |
|
230 | 304 | public function addExtension(AdminExtensionInterface $extension): void; |
231 | 305 | |
232 | 306 | /** |
@@ -236,8 +310,14 @@ discard block |
||
236 | 310 | */ |
237 | 311 | public function getExtensions(): array; |
238 | 312 | |
313 | + /** |
|
314 | + * @return void |
|
315 | + */ |
|
239 | 316 | public function setRouteBuilder(RouteBuilderInterface $routeBuilder): void; |
240 | 317 | |
318 | + /** |
|
319 | + * @return RouteBuilderInterface |
|
320 | + */ |
|
241 | 321 | public function getRouteBuilder(): ?RouteBuilderInterface; |
242 | 322 | |
243 | 323 | /** |
@@ -245,8 +325,14 @@ discard block |
||
245 | 325 | */ |
246 | 326 | public function toString($object): string; |
247 | 327 | |
328 | + /** |
|
329 | + * @return void |
|
330 | + */ |
|
248 | 331 | public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy): void; |
249 | 332 | |
333 | + /** |
|
334 | + * @return LabelTranslatorStrategyInterface |
|
335 | + */ |
|
250 | 336 | public function getLabelTranslatorStrategy(): ?LabelTranslatorStrategyInterface; |
251 | 337 | |
252 | 338 | /** |
@@ -258,6 +344,9 @@ discard block |
||
258 | 344 | |
259 | 345 | public function getNewInstance(): object; |
260 | 346 | |
347 | + /** |
|
348 | + * @return void |
|
349 | + */ |
|
261 | 350 | public function setUniqid(string $uniqId): void; |
262 | 351 | |
263 | 352 | /** |
@@ -277,6 +366,9 @@ discard block |
||
277 | 366 | */ |
278 | 367 | public function getObject($id): ?object; |
279 | 368 | |
369 | + /** |
|
370 | + * @return void |
|
371 | + */ |
|
280 | 372 | public function setSubject(?object $subject): void; |
281 | 373 | |
282 | 374 | /** |
@@ -288,6 +380,7 @@ discard block |
||
288 | 380 | * NEXT_MAJOR: Remove this method, since it's already in FieldDescriptionRegistryInterface. |
289 | 381 | * |
290 | 382 | * Returns a list FieldDescription. |
383 | + * @return null|FieldDescriptionInterface |
|
291 | 384 | */ |
292 | 385 | public function getListFieldDescription(string $name): ?FieldDescriptionInterface; |
293 | 386 | |
@@ -324,6 +417,7 @@ discard block |
||
324 | 417 | |
325 | 418 | /** |
326 | 419 | * Call before the batch action, allow you to alter the query and the idx. |
420 | + * @return void |
|
327 | 421 | */ |
328 | 422 | public function preBatchAction(string $actionName, ProxyQueryInterface $query, array &$idx, bool $allElements = false): void; |
329 | 423 | |
@@ -346,6 +440,7 @@ discard block |
||
346 | 440 | * |
347 | 441 | * @deprecated this feature cannot be stable, use a custom validator, |
348 | 442 | * the feature will be removed with Symfony 2.2 |
443 | + * @return void |
|
349 | 444 | */ |
350 | 445 | public function validate(ErrorElement $errorElement, $object): void; |
351 | 446 | |
@@ -353,6 +448,7 @@ discard block |
||
353 | 448 | |
354 | 449 | /** |
355 | 450 | * Add object security, fe. make the current user owner of the object. |
451 | + * @return void |
|
356 | 452 | */ |
357 | 453 | public function createObjectSecurity(object $object): void; |
358 | 454 | |
@@ -361,6 +457,9 @@ discard block |
||
361 | 457 | */ |
362 | 458 | public function getParent(): ?self; |
363 | 459 | |
460 | + /** |
|
461 | + * @return void |
|
462 | + */ |
|
364 | 463 | public function setParent(self $admin): void; |
365 | 464 | |
366 | 465 | /** |
@@ -372,6 +471,7 @@ discard block |
||
372 | 471 | * Set the translation domain. |
373 | 472 | * |
374 | 473 | * @param string $translationDomain the translation domain |
474 | + * @return void |
|
375 | 475 | */ |
376 | 476 | public function setTranslationDomain(string $translationDomain): void; |
377 | 477 | |
@@ -391,6 +491,7 @@ discard block |
||
391 | 491 | |
392 | 492 | /** |
393 | 493 | * Set the form groups. |
494 | + * @return void |
|
394 | 495 | */ |
395 | 496 | public function setFormGroups(array $formGroups): void; |
396 | 497 | |
@@ -399,6 +500,9 @@ discard block |
||
399 | 500 | */ |
400 | 501 | public function getFormTabs(): array; |
401 | 502 | |
503 | + /** |
|
504 | + * @return void |
|
505 | + */ |
|
402 | 506 | public function setFormTabs(array $formTabs): void; |
403 | 507 | |
404 | 508 | /** |
@@ -406,10 +510,14 @@ discard block |
||
406 | 510 | */ |
407 | 511 | public function getShowTabs(): array; |
408 | 512 | |
513 | + /** |
|
514 | + * @return void |
|
515 | + */ |
|
409 | 516 | public function setShowTabs(array $showTabs): void; |
410 | 517 | |
411 | 518 | /** |
412 | 519 | * Remove a form group field. |
520 | + * @return void |
|
413 | 521 | */ |
414 | 522 | public function removeFieldFromFormGroup(string $key): void; |
415 | 523 | |
@@ -422,11 +530,13 @@ discard block |
||
422 | 530 | |
423 | 531 | /** |
424 | 532 | * Set the show groups. |
533 | + * @return void |
|
425 | 534 | */ |
426 | 535 | public function setShowGroups(array $showGroups): void; |
427 | 536 | |
428 | 537 | /** |
429 | 538 | * Reorder items in showGroup. |
539 | + * @return void |
|
430 | 540 | */ |
431 | 541 | public function reorderShowGroup(string $group, array $keys): void; |
432 | 542 | |
@@ -434,6 +544,7 @@ discard block |
||
434 | 544 | * NEXT_MAJOR: Remove this method, since it's already in FieldDescriptionRegistryInterface. |
435 | 545 | * |
436 | 546 | * add a FieldDescription. |
547 | + * @return void |
|
437 | 548 | */ |
438 | 549 | public function addFormFieldDescription(string $name, FieldDescriptionInterface $fieldDescription): void; |
439 | 550 | |
@@ -441,6 +552,7 @@ discard block |
||
441 | 552 | * NEXT_MAJOR: Remove this method, since it's already in FieldDescriptionRegistryInterface. |
442 | 553 | * |
443 | 554 | * Remove a FieldDescription. |
555 | + * @return void |
|
444 | 556 | */ |
445 | 557 | public function removeFormFieldDescription(string $name): void; |
446 | 558 | |
@@ -458,11 +570,13 @@ discard block |
||
458 | 570 | * Adds a new class to a list of supported sub classes. |
459 | 571 | * |
460 | 572 | * @param string $subClass |
573 | + * @return void |
|
461 | 574 | */ |
462 | 575 | public function addSubClass($subClass): void; |
463 | 576 | |
464 | 577 | /** |
465 | 578 | * Sets the list of supported sub classes. |
579 | + * @return void |
|
466 | 580 | */ |
467 | 581 | public function setSubClasses(array $subClasses): void; |
468 | 582 | |
@@ -501,6 +615,7 @@ discard block |
||
501 | 615 | |
502 | 616 | /** |
503 | 617 | * Returns Admin`s label. |
618 | + * @return string |
|
504 | 619 | */ |
505 | 620 | public function getLabel(): ?string; |
506 | 621 | |
@@ -515,6 +630,7 @@ discard block |
||
515 | 630 | |
516 | 631 | /** |
517 | 632 | * Set the current child status. |
633 | + * @return void |
|
518 | 634 | */ |
519 | 635 | public function setCurrentChild(bool $currentChild): void; |
520 | 636 | |
@@ -540,6 +656,9 @@ discard block |
||
540 | 656 | */ |
541 | 657 | public function getListModes(): array; |
542 | 658 | |
659 | + /** |
|
660 | + * @return void |
|
661 | + */ |
|
543 | 662 | public function setListMode(string $mode): void; |
544 | 663 | |
545 | 664 | /** |
@@ -564,12 +683,14 @@ discard block |
||
564 | 683 | |
565 | 684 | /** |
566 | 685 | * Returns the result link for an object. |
686 | + * @return string|null |
|
567 | 687 | */ |
568 | 688 | public function getSearchResultLink(object $object): ?string; |
569 | 689 | |
570 | 690 | /** |
571 | 691 | * Setting to true will enable mosaic button for the admin screen. |
572 | 692 | * Setting to false will hide mosaic button for the admin screen. |
693 | + * @return void |
|
573 | 694 | */ |
574 | 695 | public function showMosaicButton(bool $isShown): void; |
575 | 696 | |
@@ -595,6 +716,9 @@ discard block |
||
595 | 716 | */ |
596 | 717 | public function getRootCode(): string; |
597 | 718 | |
719 | + /** |
|
720 | + * @return void |
|
721 | + */ |
|
598 | 722 | public function setFilterPersister(?FilterPersisterInterface $filterPersister = null): void; |
599 | 723 | |
600 | 724 | /** |
@@ -607,14 +731,24 @@ discard block |
||
607 | 731 | */ |
608 | 732 | public function getBaseRouteName(): string; |
609 | 733 | |
734 | + /** |
|
735 | + * @param AbstractAdmin $childAdmin |
|
736 | + */ |
|
610 | 737 | public function getSideMenu(string $action, ?self $childAdmin = null): ItemInterface; |
611 | 738 | |
739 | + /** |
|
740 | + * @return void |
|
741 | + */ |
|
612 | 742 | public function addParentAssociationMapping(string $code, string $value): void; |
613 | 743 | |
744 | + /** |
|
745 | + * @return RouteGeneratorInterface|null |
|
746 | + */ |
|
614 | 747 | public function getRouteGenerator(): ?RouteGeneratorInterface; |
615 | 748 | |
616 | 749 | /** |
617 | 750 | * Returns the current child admin instance. |
751 | + * @return AdminInterface|null |
|
618 | 752 | */ |
619 | 753 | public function getCurrentChildAdmin(): ?self; |
620 | 754 | |
@@ -624,11 +758,15 @@ discard block |
||
624 | 758 | */ |
625 | 759 | public function getParentAssociationMapping(): ?string; |
626 | 760 | |
761 | + /** |
|
762 | + * @return void |
|
763 | + */ |
|
627 | 764 | public function reorderFormGroup(string $group, array $keys): void; |
628 | 765 | |
629 | 766 | /** |
630 | 767 | * This method is being called by the main admin class and the child class, |
631 | 768 | * the getFormBuilder is only call by the main admin class. |
769 | + * @return void |
|
632 | 770 | */ |
633 | 771 | public function defineFormBuilder(FormBuilderInterface $formBuilder): void; |
634 | 772 | } |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | { |
27 | 27 | /** |
28 | 28 | * set the field name. |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setFieldName(?string $fieldName): void; |
31 | 32 | |
@@ -38,6 +39,7 @@ discard block |
||
38 | 39 | |
39 | 40 | /** |
40 | 41 | * Set the name. |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function setName(?string $name): void; |
43 | 45 | |
@@ -61,6 +63,7 @@ discard block |
||
61 | 63 | * Define an option, an option is has a name and a value. |
62 | 64 | * |
63 | 65 | * @param mixed $value |
66 | + * @return void |
|
64 | 67 | */ |
65 | 68 | public function setOption(string $name, $value): void; |
66 | 69 | |
@@ -72,6 +75,7 @@ discard block |
||
72 | 75 | * Then the value are copied across to the related property value. |
73 | 76 | * |
74 | 77 | * @param array<string, mixed> $options |
78 | + * @return void |
|
75 | 79 | */ |
76 | 80 | public function setOptions(array $options): void; |
77 | 81 | |
@@ -84,6 +88,8 @@ discard block |
||
84 | 88 | |
85 | 89 | /** |
86 | 90 | * Sets the template used to render the field. |
91 | + * @param string $template |
|
92 | + * @return void |
|
87 | 93 | */ |
88 | 94 | public function setTemplate(?string $template): void; |
89 | 95 | |
@@ -97,16 +103,19 @@ discard block |
||
97 | 103 | /** |
98 | 104 | * Sets the field type. The type is a mandatory field as it's used to select the correct template |
99 | 105 | * or the logic associated to the current FieldDescription object. |
106 | + * @return void |
|
100 | 107 | */ |
101 | 108 | public function setType(?string $type): void; |
102 | 109 | |
103 | 110 | /** |
104 | 111 | * Returns the type. |
112 | + * @return string |
|
105 | 113 | */ |
106 | 114 | public function getType(): ?string; |
107 | 115 | |
108 | 116 | /** |
109 | 117 | * set the parent Admin (only used in nested admin). |
118 | + * @return void |
|
110 | 119 | */ |
111 | 120 | public function setParent(AdminInterface $parent); |
112 | 121 | |
@@ -136,6 +145,7 @@ discard block |
||
136 | 145 | * Returns the related Target object model. |
137 | 146 | * |
138 | 147 | * @deprecated since sonata-project/admin-bundle 3.69. Use `getTargetModel()` instead. |
148 | + * @return string |
|
139 | 149 | */ |
140 | 150 | public function getTargetEntity(): ?string; |
141 | 151 | |
@@ -169,6 +179,7 @@ discard block |
||
169 | 179 | * set the association admin instance (only used if the field is linked to an Admin). |
170 | 180 | * |
171 | 181 | * @param AdminInterface $associationAdmin the associated admin |
182 | + * @return void |
|
172 | 183 | */ |
173 | 184 | public function setAssociationAdmin(AdminInterface $associationAdmin); |
174 | 185 | |
@@ -196,6 +207,7 @@ discard block |
||
196 | 207 | |
197 | 208 | /** |
198 | 209 | * set the admin class linked to this FieldDescription. |
210 | + * @return void |
|
199 | 211 | */ |
200 | 212 | public function setAdmin(AdminInterface $admin); |
201 | 213 | |
@@ -211,11 +223,13 @@ discard block |
||
211 | 223 | * merge option values related to the provided option name. |
212 | 224 | * |
213 | 225 | * @throws \RuntimeException |
226 | + * @return void |
|
214 | 227 | */ |
215 | 228 | public function mergeOption(string $name, array $options = []): void; |
216 | 229 | |
217 | 230 | /** |
218 | 231 | * merge options values. |
232 | + * @return void |
|
219 | 233 | */ |
220 | 234 | public function mergeOptions(array $options = []): void; |
221 | 235 | |
@@ -223,6 +237,7 @@ discard block |
||
223 | 237 | * set the original mapping type (only used if the field is linked to an entity). |
224 | 238 | * |
225 | 239 | * @param string|int $mappingType |
240 | + * @return void |
|
226 | 241 | */ |
227 | 242 | public function setMappingType($mappingType); |
228 | 243 |