| @@ -49,6 +49,9 @@ discard block | ||
| 49 | 49 | */ | 
| 50 | 50 | interface AdminInterface extends AccessRegistryInterface, FieldDescriptionRegistryInterface, LifecycleHookProviderInterface, MenuBuilderInterface, ParentAdminInterface, UrlGeneratorInterface | 
| 51 | 51 |  { | 
| 52 | + /** | |
| 53 | + * @return void | |
| 54 | + */ | |
| 52 | 55 | public function setMenuFactory(MenuFactoryInterface $menuFactory); | 
| 53 | 56 | |
| 54 | 57 | /** | 
| @@ -56,8 +59,14 @@ discard block | ||
| 56 | 59 | */ | 
| 57 | 60 | public function getMenuFactory(); | 
| 58 | 61 | |
| 62 | + /** | |
| 63 | + * @return void | |
| 64 | + */ | |
| 59 | 65 | public function setFormContractor(FormContractorInterface $formContractor); | 
| 60 | 66 | |
| 67 | + /** | |
| 68 | + * @return void | |
| 69 | + */ | |
| 61 | 70 | public function setListBuilder(ListBuilderInterface $listBuilder); | 
| 62 | 71 | |
| 63 | 72 | /** | 
| @@ -65,6 +74,9 @@ discard block | ||
| 65 | 74 | */ | 
| 66 | 75 | public function getListBuilder(); | 
| 67 | 76 | |
| 77 | + /** | |
| 78 | + * @return void | |
| 79 | + */ | |
| 68 | 80 | public function setDatagridBuilder(DatagridBuilderInterface $datagridBuilder); | 
| 69 | 81 | |
| 70 | 82 | /** | 
| @@ -72,6 +84,9 @@ discard block | ||
| 72 | 84 | */ | 
| 73 | 85 | public function getDatagridBuilder(); | 
| 74 | 86 | |
| 87 | + /** | |
| 88 | + * @return void | |
| 89 | + */ | |
| 75 | 90 | public function setTranslator(TranslatorInterface $translator); | 
| 76 | 91 | |
| 77 | 92 | /** | 
| @@ -79,8 +94,14 @@ discard block | ||
| 79 | 94 | */ | 
| 80 | 95 | public function getTranslator(); | 
| 81 | 96 | |
| 97 | + /** | |
| 98 | + * @return void | |
| 99 | + */ | |
| 82 | 100 | public function setRequest(Request $request); | 
| 83 | 101 | |
| 102 | + /** | |
| 103 | + * @return void | |
| 104 | + */ | |
| 84 | 105 | public function setConfigurationPool(Pool $pool); | 
| 85 | 106 | |
| 86 | 107 | /** | 
| @@ -93,6 +114,9 @@ discard block | ||
| 93 | 114 | */ | 
| 94 | 115 | public function getClass(); | 
| 95 | 116 | |
| 117 | + /** | |
| 118 | + * @return void | |
| 119 | + */ | |
| 96 | 120 | public function attachAdminClass(FieldDescriptionInterface $fieldDescription); | 
| 97 | 121 | |
| 98 | 122 | /** | 
| @@ -104,6 +128,7 @@ discard block | ||
| 104 | 128 | * Set base controller name. | 
| 105 | 129 | * | 
| 106 | 130 | * @param string $baseControllerName | 
| 131 | + * @return void | |
| 107 | 132 | */ | 
| 108 | 133 | public function setBaseControllerName($baseControllerName); | 
| 109 | 134 | |
| @@ -178,6 +203,9 @@ discard block | ||
| 178 | 203 | */ | 
| 179 | 204 | public function getSecurityInformation(); | 
| 180 | 205 | |
| 206 | + /** | |
| 207 | + * @return void | |
| 208 | + */ | |
| 181 | 209 | public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription); | 
| 182 | 210 | |
| 183 | 211 | /** | 
| @@ -225,6 +253,9 @@ discard block | ||
| 225 | 253 | */ | 
| 226 | 254 | public function hasRoute($name); | 
| 227 | 255 | |
| 256 | + /** | |
| 257 | + * @return void | |
| 258 | + */ | |
| 228 | 259 | public function setSecurityHandler(SecurityHandlerInterface $securityHandler); | 
| 229 | 260 | |
| 230 | 261 | /** | 
| @@ -252,12 +283,13 @@ discard block | ||
| 252 | 283 | * | 
| 253 | 284 | * @param object $model | 
| 254 | 285 | * | 
| 255 | - * @return mixed | |
| 286 | + * @return string | |
| 256 | 287 | */ | 
| 257 | 288 | public function id($model); | 
| 258 | 289 | |
| 259 | 290 | /** | 
| 260 | 291 | * @param ValidatorInterface $validator | 
| 292 | + * @return void | |
| 261 | 293 | */ | 
| 262 | 294 | public function setValidator($validator); | 
| 263 | 295 | |
| @@ -274,6 +306,9 @@ discard block | ||
| 274 | 306 | // NEXT_MAJOR: uncomment this method in 4.0 | 
| 275 | 307 | // public function getList(): ?FieldDescriptionCollection; | 
| 276 | 308 | |
| 309 | + /** | |
| 310 | + * @return void | |
| 311 | + */ | |
| 277 | 312 | public function setFormTheme(array $formTheme); | 
| 278 | 313 | |
| 279 | 314 | /** | 
| @@ -281,6 +316,9 @@ discard block | ||
| 281 | 316 | */ | 
| 282 | 317 | public function getFormTheme(); | 
| 283 | 318 | |
| 319 | + /** | |
| 320 | + * @return void | |
| 321 | + */ | |
| 284 | 322 | public function setFilterTheme(array $filterTheme); | 
| 285 | 323 | |
| 286 | 324 | /** | 
| @@ -288,6 +326,9 @@ discard block | ||
| 288 | 326 | */ | 
| 289 | 327 | public function getFilterTheme(); | 
| 290 | 328 | |
| 329 | + /** | |
| 330 | + * @return void | |
| 331 | + */ | |
| 291 | 332 | public function addExtension(AdminExtensionInterface $extension); | 
| 292 | 333 | |
| 293 | 334 | /** | 
| @@ -297,6 +338,9 @@ discard block | ||
| 297 | 338 | */ | 
| 298 | 339 | public function getExtensions(); | 
| 299 | 340 | |
| 341 | + /** | |
| 342 | + * @return void | |
| 343 | + */ | |
| 300 | 344 | public function setRouteBuilder(RouteBuilderInterface $routeBuilder); | 
| 301 | 345 | |
| 302 | 346 | /** | 
| @@ -311,6 +355,9 @@ discard block | ||
| 311 | 355 | */ | 
| 312 | 356 | public function toString($object); | 
| 313 | 357 | |
| 358 | + /** | |
| 359 | + * @return void | |
| 360 | + */ | |
| 314 | 361 | public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy); | 
| 315 | 362 | |
| 316 | 363 | /** | 
| @@ -334,6 +381,7 @@ discard block | ||
| 334 | 381 | |
| 335 | 382 | /** | 
| 336 | 383 | * @param string $uniqId | 
| 384 | + * @return void | |
| 337 | 385 | */ | 
| 338 | 386 | public function setUniqid($uniqId); | 
| 339 | 387 | |
| @@ -353,6 +401,7 @@ discard block | ||
| 353 | 401 | |
| 354 | 402 | /** | 
| 355 | 403 | * @param object|null $subject | 
| 404 | + * @return void | |
| 356 | 405 | */ | 
| 357 | 406 | public function setSubject($subject); | 
| 358 | 407 | |
| @@ -390,7 +439,7 @@ discard block | ||
| 390 | 439 | * | 
| 391 | 440 | * Returns the collection of list FieldDescriptions. | 
| 392 | 441 | * | 
| 393 | - * @return array | |
| 442 | + * @return FieldDescriptionInterface[] | |
| 394 | 443 | */ | 
| 395 | 444 | public function getListFieldDescriptions(); | 
| 396 | 445 | |
| @@ -408,6 +457,9 @@ discard block | ||
| 408 | 457 | */ | 
| 409 | 458 | public function getDataSourceIterator(); | 
| 410 | 459 | |
| 460 | + /** | |
| 461 | + * @return void | |
| 462 | + */ | |
| 411 | 463 | public function configure(); | 
| 412 | 464 | |
| 413 | 465 | /** | 
| @@ -415,6 +467,7 @@ discard block | ||
| 415 | 467 | * | 
| 416 | 468 | * @param string $actionName | 
| 417 | 469 | * @param bool $allElements | 
| 470 | + * @return void | |
| 418 | 471 | */ | 
| 419 | 472 | public function preBatchAction($actionName, ProxyQueryInterface $query, array &$idx, $allElements); | 
| 420 | 473 | |
| @@ -439,6 +492,7 @@ discard block | ||
| 439 | 492 | * | 
| 440 | 493 | * @deprecated this feature cannot be stable, use a custom validator, | 
| 441 | 494 | * the feature will be removed with Symfony 2.2 | 
| 495 | + * @return void | |
| 442 | 496 | */ | 
| 443 | 497 | public function validate(ErrorElement $errorElement, $object); | 
| 444 | 498 | |
| @@ -453,6 +507,7 @@ discard block | ||
| 453 | 507 | * Add object security, fe. make the current user owner of the object. | 
| 454 | 508 | * | 
| 455 | 509 | * @param object $object | 
| 510 | + * @return void | |
| 456 | 511 | */ | 
| 457 | 512 | public function createObjectSecurity($object); | 
| 458 | 513 | |
| @@ -461,6 +516,9 @@ discard block | ||
| 461 | 516 | */ | 
| 462 | 517 | public function getParent(); | 
| 463 | 518 | |
| 519 | + /** | |
| 520 | + * @return void | |
| 521 | + */ | |
| 464 | 522 | public function setParent(self $admin); | 
| 465 | 523 | |
| 466 | 524 | /** | 
| @@ -485,6 +543,7 @@ discard block | ||
| 485 | 543 | * Set the translation domain. | 
| 486 | 544 | * | 
| 487 | 545 | * @param string $translationDomain the translation domain | 
| 546 | + * @return void | |
| 488 | 547 | */ | 
| 489 | 548 | public function setTranslationDomain($translationDomain); | 
| 490 | 549 | |
| @@ -506,6 +565,7 @@ discard block | ||
| 506 | 565 | |
| 507 | 566 | /** | 
| 508 | 567 | * Set the form groups. | 
| 568 | + * @return void | |
| 509 | 569 | */ | 
| 510 | 570 | public function setFormGroups(array $formGroups); | 
| 511 | 571 | |
| @@ -514,6 +574,9 @@ discard block | ||
| 514 | 574 | */ | 
| 515 | 575 | public function getFormTabs(); | 
| 516 | 576 | |
| 577 | + /** | |
| 578 | + * @return void | |
| 579 | + */ | |
| 517 | 580 | public function setFormTabs(array $formTabs); | 
| 518 | 581 | |
| 519 | 582 | /** | 
| @@ -521,12 +584,16 @@ discard block | ||
| 521 | 584 | */ | 
| 522 | 585 | public function getShowTabs(); | 
| 523 | 586 | |
| 587 | + /** | |
| 588 | + * @return void | |
| 589 | + */ | |
| 524 | 590 | public function setShowTabs(array $showTabs); | 
| 525 | 591 | |
| 526 | 592 | /** | 
| 527 | 593 | * Remove a form group field. | 
| 528 | 594 | * | 
| 529 | 595 | * @param string $key | 
| 596 | + * @return void | |
| 530 | 597 | */ | 
| 531 | 598 | public function removeFieldFromFormGroup($key); | 
| 532 | 599 | |
| @@ -541,6 +608,7 @@ discard block | ||
| 541 | 608 | |
| 542 | 609 | /** | 
| 543 | 610 | * Set the show groups. | 
| 611 | + * @return void | |
| 544 | 612 | */ | 
| 545 | 613 | public function setShowGroups(array $showGroups); | 
| 546 | 614 | |
| @@ -548,6 +616,7 @@ discard block | ||
| 548 | 616 | * Reorder items in showGroup. | 
| 549 | 617 | * | 
| 550 | 618 | * @param string $group | 
| 619 | + * @return void | |
| 551 | 620 | */ | 
| 552 | 621 | public function reorderShowGroup($group, array $keys); | 
| 553 | 622 | |
| @@ -557,6 +626,7 @@ discard block | ||
| 557 | 626 | * add a FieldDescription. | 
| 558 | 627 | * | 
| 559 | 628 | * @param string $name | 
| 629 | + * @return void | |
| 560 | 630 | */ | 
| 561 | 631 | public function addFormFieldDescription($name, FieldDescriptionInterface $fieldDescription); | 
| 562 | 632 | |
| @@ -566,6 +636,7 @@ discard block | ||
| 566 | 636 | * Remove a FieldDescription. | 
| 567 | 637 | * | 
| 568 | 638 | * @param string $name | 
| 639 | + * @return void | |
| 569 | 640 | */ | 
| 570 | 641 | public function removeFormFieldDescription($name); | 
| 571 | 642 | |
| @@ -578,6 +649,7 @@ discard block | ||
| 578 | 649 | |
| 579 | 650 | /** | 
| 580 | 651 | * Sets the list of supported sub classes. | 
| 652 | + * @return void | |
| 581 | 653 | */ | 
| 582 | 654 | public function setSubClasses(array $subClasses); | 
| 583 | 655 | |
| @@ -646,6 +718,7 @@ discard block | ||
| 646 | 718 | * Set the current child status. | 
| 647 | 719 | * | 
| 648 | 720 | * @param bool $currentChild | 
| 721 | + * @return void | |
| 649 | 722 | */ | 
| 650 | 723 | public function setCurrentChild($currentChild); | 
| 651 | 724 | |
| @@ -695,6 +768,7 @@ discard block | ||
| 695 | 768 | |
| 696 | 769 | /** | 
| 697 | 770 | * @param string $mode | 
| 771 | + * @return void | |
| 698 | 772 | */ | 
| 699 | 773 | public function setListMode($mode); | 
| 700 | 774 | |