@@ -67,6 +67,9 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | interface AdminInterface extends AccessRegistryInterface, FieldDescriptionRegistryInterface, LifecycleHookProviderInterface, MenuBuilderInterface, ParentAdminInterface, UrlGeneratorInterface |
| 69 | 69 | { |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 70 | 73 | public function setMenuFactory(MenuFactoryInterface $menuFactory); |
| 71 | 74 | |
| 72 | 75 | /** |
@@ -74,8 +77,14 @@ discard block |
||
| 74 | 77 | */ |
| 75 | 78 | public function getMenuFactory(); |
| 76 | 79 | |
| 80 | + /** |
|
| 81 | + * @return void |
|
| 82 | + */ |
|
| 77 | 83 | public function setFormContractor(FormContractorInterface $formContractor); |
| 78 | 84 | |
| 85 | + /** |
|
| 86 | + * @return void |
|
| 87 | + */ |
|
| 79 | 88 | public function setListBuilder(ListBuilderInterface $listBuilder); |
| 80 | 89 | |
| 81 | 90 | /** |
@@ -83,6 +92,9 @@ discard block |
||
| 83 | 92 | */ |
| 84 | 93 | public function getListBuilder(); |
| 85 | 94 | |
| 95 | + /** |
|
| 96 | + * @return void |
|
| 97 | + */ |
|
| 86 | 98 | public function setDatagridBuilder(DatagridBuilderInterface $datagridBuilder); |
| 87 | 99 | |
| 88 | 100 | /** |
@@ -90,6 +102,9 @@ discard block |
||
| 90 | 102 | */ |
| 91 | 103 | public function getDatagridBuilder(); |
| 92 | 104 | |
| 105 | + /** |
|
| 106 | + * @return void |
|
| 107 | + */ |
|
| 93 | 108 | public function setTranslator(TranslatorInterface $translator); |
| 94 | 109 | |
| 95 | 110 | /** |
@@ -97,8 +112,14 @@ discard block |
||
| 97 | 112 | */ |
| 98 | 113 | public function getTranslator(); |
| 99 | 114 | |
| 115 | + /** |
|
| 116 | + * @return void |
|
| 117 | + */ |
|
| 100 | 118 | public function setRequest(Request $request); |
| 101 | 119 | |
| 120 | + /** |
|
| 121 | + * @return void |
|
| 122 | + */ |
|
| 102 | 123 | public function setConfigurationPool(Pool $pool); |
| 103 | 124 | |
| 104 | 125 | /** |
@@ -111,6 +132,9 @@ discard block |
||
| 111 | 132 | */ |
| 112 | 133 | public function getClass(); |
| 113 | 134 | |
| 135 | + /** |
|
| 136 | + * @return void |
|
| 137 | + */ |
|
| 114 | 138 | public function attachAdminClass(FieldDescriptionInterface $fieldDescription); |
| 115 | 139 | |
| 116 | 140 | // NEXT_MAJOR: uncomment this method in 4.0 |
@@ -125,6 +149,7 @@ discard block |
||
| 125 | 149 | * Set base controller name. |
| 126 | 150 | * |
| 127 | 151 | * @param string $baseControllerName |
| 152 | + * @return void |
|
| 128 | 153 | */ |
| 129 | 154 | public function setBaseControllerName($baseControllerName); |
| 130 | 155 | |
@@ -199,6 +224,9 @@ discard block |
||
| 199 | 224 | */ |
| 200 | 225 | public function getSecurityInformation(); |
| 201 | 226 | |
| 227 | + /** |
|
| 228 | + * @return void |
|
| 229 | + */ |
|
| 202 | 230 | public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription); |
| 203 | 231 | |
| 204 | 232 | /** |
@@ -276,12 +304,13 @@ discard block |
||
| 276 | 304 | * |
| 277 | 305 | * @param object $model |
| 278 | 306 | * |
| 279 | - * @return mixed |
|
| 307 | + * @return string |
|
| 280 | 308 | */ |
| 281 | 309 | public function id($model); |
| 282 | 310 | |
| 283 | 311 | /** |
| 284 | 312 | * @param ValidatorInterface $validator |
| 313 | + * @return void |
|
| 285 | 314 | */ |
| 286 | 315 | public function setValidator($validator); |
| 287 | 316 | |
@@ -298,6 +327,9 @@ discard block |
||
| 298 | 327 | // NEXT_MAJOR: uncomment this method in 4.0 |
| 299 | 328 | // public function getList(): ?FieldDescriptionCollection; |
| 300 | 329 | |
| 330 | + /** |
|
| 331 | + * @return void |
|
| 332 | + */ |
|
| 301 | 333 | public function setFormTheme(array $formTheme); |
| 302 | 334 | |
| 303 | 335 | /** |
@@ -305,6 +337,9 @@ discard block |
||
| 305 | 337 | */ |
| 306 | 338 | public function getFormTheme(); |
| 307 | 339 | |
| 340 | + /** |
|
| 341 | + * @return void |
|
| 342 | + */ |
|
| 308 | 343 | public function setFilterTheme(array $filterTheme); |
| 309 | 344 | |
| 310 | 345 | /** |
@@ -312,6 +347,9 @@ discard block |
||
| 312 | 347 | */ |
| 313 | 348 | public function getFilterTheme(); |
| 314 | 349 | |
| 350 | + /** |
|
| 351 | + * @return void |
|
| 352 | + */ |
|
| 315 | 353 | public function addExtension(AdminExtensionInterface $extension); |
| 316 | 354 | |
| 317 | 355 | /** |
@@ -321,6 +359,9 @@ discard block |
||
| 321 | 359 | */ |
| 322 | 360 | public function getExtensions(); |
| 323 | 361 | |
| 362 | + /** |
|
| 363 | + * @return void |
|
| 364 | + */ |
|
| 324 | 365 | public function setRouteBuilder(RouteBuilderInterface $routeBuilder); |
| 325 | 366 | |
| 326 | 367 | /** |
@@ -335,6 +376,9 @@ discard block |
||
| 335 | 376 | */ |
| 336 | 377 | public function toString($object); |
| 337 | 378 | |
| 379 | + /** |
|
| 380 | + * @return void |
|
| 381 | + */ |
|
| 338 | 382 | public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy); |
| 339 | 383 | |
| 340 | 384 | /** |
@@ -358,6 +402,7 @@ discard block |
||
| 358 | 402 | |
| 359 | 403 | /** |
| 360 | 404 | * @param string $uniqId |
| 405 | + * @return void |
|
| 361 | 406 | */ |
| 362 | 407 | public function setUniqid($uniqId); |
| 363 | 408 | |
@@ -377,6 +422,7 @@ discard block |
||
| 377 | 422 | |
| 378 | 423 | /** |
| 379 | 424 | * @param object|null $subject |
| 425 | + * @return void |
|
| 380 | 426 | */ |
| 381 | 427 | public function setSubject($subject); |
| 382 | 428 | |
@@ -414,7 +460,7 @@ discard block |
||
| 414 | 460 | * |
| 415 | 461 | * Returns the collection of list FieldDescriptions. |
| 416 | 462 | * |
| 417 | - * @return array |
|
| 463 | + * @return FieldDescriptionInterface[] |
|
| 418 | 464 | */ |
| 419 | 465 | public function getListFieldDescriptions(); |
| 420 | 466 | |
@@ -432,6 +478,9 @@ discard block |
||
| 432 | 478 | */ |
| 433 | 479 | public function getDataSourceIterator(); |
| 434 | 480 | |
| 481 | + /** |
|
| 482 | + * @return void |
|
| 483 | + */ |
|
| 435 | 484 | public function configure(); |
| 436 | 485 | |
| 437 | 486 | /** |
@@ -439,6 +488,7 @@ discard block |
||
| 439 | 488 | * |
| 440 | 489 | * @param string $actionName |
| 441 | 490 | * @param bool $allElements |
| 491 | + * @return void |
|
| 442 | 492 | */ |
| 443 | 493 | public function preBatchAction($actionName, ProxyQueryInterface $query, array &$idx, $allElements); |
| 444 | 494 | |
@@ -463,6 +513,7 @@ discard block |
||
| 463 | 513 | * |
| 464 | 514 | * @deprecated this feature cannot be stable, use a custom validator, |
| 465 | 515 | * the feature will be removed with Symfony 2.2 |
| 516 | + * @return void |
|
| 466 | 517 | */ |
| 467 | 518 | public function validate(ErrorElement $errorElement, $object); |
| 468 | 519 | |
@@ -477,6 +528,7 @@ discard block |
||
| 477 | 528 | * Add object security, fe. make the current user owner of the object. |
| 478 | 529 | * |
| 479 | 530 | * @param object $object |
| 531 | + * @return void |
|
| 480 | 532 | */ |
| 481 | 533 | public function createObjectSecurity($object); |
| 482 | 534 | |
@@ -485,6 +537,9 @@ discard block |
||
| 485 | 537 | */ |
| 486 | 538 | public function getParent(); |
| 487 | 539 | |
| 540 | + /** |
|
| 541 | + * @return void |
|
| 542 | + */ |
|
| 488 | 543 | public function setParent(self $admin); |
| 489 | 544 | |
| 490 | 545 | /** |
@@ -509,6 +564,7 @@ discard block |
||
| 509 | 564 | * Set the translation domain. |
| 510 | 565 | * |
| 511 | 566 | * @param string $translationDomain the translation domain |
| 567 | + * @return void |
|
| 512 | 568 | */ |
| 513 | 569 | public function setTranslationDomain($translationDomain); |
| 514 | 570 | |
@@ -530,6 +586,7 @@ discard block |
||
| 530 | 586 | |
| 531 | 587 | /** |
| 532 | 588 | * Set the form groups. |
| 589 | + * @return void |
|
| 533 | 590 | */ |
| 534 | 591 | public function setFormGroups(array $formGroups); |
| 535 | 592 | |
@@ -538,6 +595,9 @@ discard block |
||
| 538 | 595 | */ |
| 539 | 596 | public function getFormTabs(); |
| 540 | 597 | |
| 598 | + /** |
|
| 599 | + * @return void |
|
| 600 | + */ |
|
| 541 | 601 | public function setFormTabs(array $formTabs); |
| 542 | 602 | |
| 543 | 603 | /** |
@@ -545,12 +605,16 @@ discard block |
||
| 545 | 605 | */ |
| 546 | 606 | public function getShowTabs(); |
| 547 | 607 | |
| 608 | + /** |
|
| 609 | + * @return void |
|
| 610 | + */ |
|
| 548 | 611 | public function setShowTabs(array $showTabs); |
| 549 | 612 | |
| 550 | 613 | /** |
| 551 | 614 | * Remove a form group field. |
| 552 | 615 | * |
| 553 | 616 | * @param string $key |
| 617 | + * @return void |
|
| 554 | 618 | */ |
| 555 | 619 | public function removeFieldFromFormGroup($key); |
| 556 | 620 | |
@@ -565,6 +629,7 @@ discard block |
||
| 565 | 629 | |
| 566 | 630 | /** |
| 567 | 631 | * Set the show groups. |
| 632 | + * @return void |
|
| 568 | 633 | */ |
| 569 | 634 | public function setShowGroups(array $showGroups); |
| 570 | 635 | |
@@ -572,6 +637,7 @@ discard block |
||
| 572 | 637 | * Reorder items in showGroup. |
| 573 | 638 | * |
| 574 | 639 | * @param string $group |
| 640 | + * @return void |
|
| 575 | 641 | */ |
| 576 | 642 | public function reorderShowGroup($group, array $keys); |
| 577 | 643 | |
@@ -581,6 +647,7 @@ discard block |
||
| 581 | 647 | * add a FieldDescription. |
| 582 | 648 | * |
| 583 | 649 | * @param string $name |
| 650 | + * @return void |
|
| 584 | 651 | */ |
| 585 | 652 | public function addFormFieldDescription($name, FieldDescriptionInterface $fieldDescription); |
| 586 | 653 | |
@@ -590,6 +657,7 @@ discard block |
||
| 590 | 657 | * Remove a FieldDescription. |
| 591 | 658 | * |
| 592 | 659 | * @param string $name |
| 660 | + * @return void |
|
| 593 | 661 | */ |
| 594 | 662 | public function removeFormFieldDescription($name); |
| 595 | 663 | |
@@ -602,6 +670,7 @@ discard block |
||
| 602 | 670 | |
| 603 | 671 | /** |
| 604 | 672 | * Sets the list of supported sub classes. |
| 673 | + * @return void |
|
| 605 | 674 | */ |
| 606 | 675 | public function setSubClasses(array $subClasses); |
| 607 | 676 | |
@@ -670,6 +739,7 @@ discard block |
||
| 670 | 739 | * Set the current child status. |
| 671 | 740 | * |
| 672 | 741 | * @param bool $currentChild |
| 742 | + * @return void |
|
| 673 | 743 | */ |
| 674 | 744 | public function setCurrentChild($currentChild); |
| 675 | 745 | |
@@ -719,6 +789,7 @@ discard block |
||
| 719 | 789 | |
| 720 | 790 | /** |
| 721 | 791 | * @param string $mode |
| 792 | + * @return void |
|
| 722 | 793 | */ |
| 723 | 794 | public function setListMode($mode); |
| 724 | 795 | |
@@ -191,6 +191,7 @@ |
||
| 191 | 191 | * NEXT_MAJOR: change signature to `addObjectOwner(MutableAclInterface $acl, ?UserSecurityIdentity $securityIdentity = null): void`. |
| 192 | 192 | * |
| 193 | 193 | * @param MutableAclInterface $acl |
| 194 | + * @param UserSecurityIdentity $securityIdentity |
|
| 194 | 195 | * |
| 195 | 196 | * @return void |
| 196 | 197 | */ |
@@ -25,6 +25,7 @@ discard block |
||
| 25 | 25 | { |
| 26 | 26 | /** |
| 27 | 27 | * Set the permissions not related to an object instance and also to be available when objects do not exist. |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function setAdminPermissions(array $permissions); |
| 30 | 31 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * Set the permissions related to an object instance. |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setObjectPermissions(array $permissions); |
| 42 | 44 | |
@@ -110,6 +112,7 @@ discard block |
||
| 110 | 112 | |
| 111 | 113 | /** |
| 112 | 114 | * Delete the ACL. |
| 115 | + * @return void |
|
| 113 | 116 | */ |
| 114 | 117 | public function deleteAcl(ObjectIdentityInterface $objectIdentity); |
| 115 | 118 | |
@@ -120,7 +123,7 @@ discard block |
||
| 120 | 123 | * |
| 121 | 124 | * @param string $role |
| 122 | 125 | * |
| 123 | - * @return array-key|false index if found, FALSE if not found |
|
| 126 | + * @return integer index if found, FALSE if not found |
|
| 124 | 127 | */ |
| 125 | 128 | public function findClassAceIndexByRole(AclInterface $acl, $role); |
| 126 | 129 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * NEXT_MAJOR: Change signature to __construct(bool $caseSensitive) and remove pool property. |
| 40 | 40 | * |
| 41 | - * @param Pool|bool $deprecatedPoolOrCaseSensitive |
|
| 41 | + * @param boolean $deprecatedPoolOrCaseSensitive |
|
| 42 | 42 | * @param bool $caseSensitive |
| 43 | 43 | */ |
| 44 | 44 | public function __construct($deprecatedPoolOrCaseSensitive, $caseSensitive = true) |