Completed
Pull Request — 3.x (#6007)
by
unknown
04:33
created
src/Admin/AdminInterface.php 1 patch
Doc Comments   +71 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
66 66
  */
67 67
 interface AdminInterface extends AccessRegistryInterface, FieldDescriptionRegistryInterface, LifecycleHookProviderInterface, MenuBuilderInterface, ParentAdminInterface, UrlGeneratorInterface
68 68
 {
69
+    /**
70
+     * @return void
71
+     */
69 72
     public function setMenuFactory(MenuFactoryInterface $menuFactory);
70 73
 
71 74
     /**
@@ -73,8 +76,14 @@  discard block
 block discarded – undo
73 76
      */
74 77
     public function getMenuFactory();
75 78
 
79
+    /**
80
+     * @return void
81
+     */
76 82
     public function setFormContractor(FormContractorInterface $formContractor);
77 83
 
84
+    /**
85
+     * @return void
86
+     */
78 87
     public function setListBuilder(ListBuilderInterface $listBuilder);
79 88
 
80 89
     /**
@@ -82,6 +91,9 @@  discard block
 block discarded – undo
82 91
      */
83 92
     public function getListBuilder();
84 93
 
94
+    /**
95
+     * @return void
96
+     */
85 97
     public function setDatagridBuilder(DatagridBuilderInterface $datagridBuilder);
86 98
 
87 99
     /**
@@ -89,6 +101,9 @@  discard block
 block discarded – undo
89 101
      */
90 102
     public function getDatagridBuilder();
91 103
 
104
+    /**
105
+     * @return void
106
+     */
92 107
     public function setTranslator(TranslatorInterface $translator);
93 108
 
94 109
     /**
@@ -96,8 +111,14 @@  discard block
 block discarded – undo
96 111
      */
97 112
     public function getTranslator();
98 113
 
114
+    /**
115
+     * @return void
116
+     */
99 117
     public function setRequest(Request $request);
100 118
 
119
+    /**
120
+     * @return void
121
+     */
101 122
     public function setConfigurationPool(Pool $pool);
102 123
 
103 124
     /**
@@ -110,6 +131,9 @@  discard block
 block discarded – undo
110 131
      */
111 132
     public function getClass();
112 133
 
134
+    /**
135
+     * @return void
136
+     */
113 137
     public function attachAdminClass(FieldDescriptionInterface $fieldDescription);
114 138
 
115 139
     /**
@@ -121,6 +145,7 @@  discard block
 block discarded – undo
121 145
      * Set base controller name.
122 146
      *
123 147
      * @param string $baseControllerName
148
+     * @return void
124 149
      */
125 150
     public function setBaseControllerName($baseControllerName);
126 151
 
@@ -195,6 +220,9 @@  discard block
 block discarded – undo
195 220
      */
196 221
     public function getSecurityInformation();
197 222
 
223
+    /**
224
+     * @return void
225
+     */
198 226
     public function setParentFieldDescription(FieldDescriptionInterface $parentFieldDescription);
199 227
 
200 228
     /**
@@ -272,12 +300,13 @@  discard block
 block discarded – undo
272 300
      *
273 301
      * @param object $model
274 302
      *
275
-     * @return mixed
303
+     * @return string
276 304
      */
277 305
     public function id($model);
278 306
 
279 307
     /**
280 308
      * @param ValidatorInterface $validator
309
+     * @return void
281 310
      */
282 311
     public function setValidator($validator);
283 312
 
@@ -294,6 +323,9 @@  discard block
 block discarded – undo
294 323
 //    NEXT_MAJOR: uncomment this method in 4.0
295 324
 //    public function getList(): ?FieldDescriptionCollection;
296 325
 
326
+    /**
327
+     * @return void
328
+     */
297 329
     public function setFormTheme(array $formTheme);
298 330
 
299 331
     /**
@@ -301,6 +333,9 @@  discard block
 block discarded – undo
301 333
      */
302 334
     public function getFormTheme();
303 335
 
336
+    /**
337
+     * @return void
338
+     */
304 339
     public function setFilterTheme(array $filterTheme);
305 340
 
306 341
     /**
@@ -308,6 +343,9 @@  discard block
 block discarded – undo
308 343
      */
309 344
     public function getFilterTheme();
310 345
 
346
+    /**
347
+     * @return void
348
+     */
311 349
     public function addExtension(AdminExtensionInterface $extension);
312 350
 
313 351
     /**
@@ -317,6 +355,9 @@  discard block
 block discarded – undo
317 355
      */
318 356
     public function getExtensions();
319 357
 
358
+    /**
359
+     * @return void
360
+     */
320 361
     public function setRouteBuilder(RouteBuilderInterface $routeBuilder);
321 362
 
322 363
     /**
@@ -331,6 +372,9 @@  discard block
 block discarded – undo
331 372
      */
332 373
     public function toString($object);
333 374
 
375
+    /**
376
+     * @return void
377
+     */
334 378
     public function setLabelTranslatorStrategy(LabelTranslatorStrategyInterface $labelTranslatorStrategy);
335 379
 
336 380
     /**
@@ -354,6 +398,7 @@  discard block
 block discarded – undo
354 398
 
355 399
     /**
356 400
      * @param string $uniqId
401
+     * @return void
357 402
      */
358 403
     public function setUniqid($uniqId);
359 404
 
@@ -373,6 +418,7 @@  discard block
 block discarded – undo
373 418
 
374 419
     /**
375 420
      * @param object|null $subject
421
+     * @return void
376 422
      */
377 423
     public function setSubject($subject);
378 424
 
@@ -410,7 +456,7 @@  discard block
 block discarded – undo
410 456
      *
411 457
      * Returns the collection of list FieldDescriptions.
412 458
      *
413
-     * @return array
459
+     * @return FieldDescriptionInterface[]
414 460
      */
415 461
     public function getListFieldDescriptions();
416 462
 
@@ -428,6 +474,9 @@  discard block
 block discarded – undo
428 474
      */
429 475
     public function getDataSourceIterator();
430 476
 
477
+    /**
478
+     * @return void
479
+     */
431 480
     public function configure();
432 481
 
433 482
     /**
@@ -435,6 +484,7 @@  discard block
 block discarded – undo
435 484
      *
436 485
      * @param string $actionName
437 486
      * @param bool   $allElements
487
+     * @return void
438 488
      */
439 489
     public function preBatchAction($actionName, ProxyQueryInterface $query, array &$idx, $allElements);
440 490
 
@@ -459,6 +509,7 @@  discard block
 block discarded – undo
459 509
      *
460 510
      * @deprecated this feature cannot be stable, use a custom validator,
461 511
      *             the feature will be removed with Symfony 2.2
512
+     * @return void
462 513
      */
463 514
     public function validate(ErrorElement $errorElement, $object);
464 515
 
@@ -473,6 +524,7 @@  discard block
 block discarded – undo
473 524
      * Add object security, fe. make the current user owner of the object.
474 525
      *
475 526
      * @param object $object
527
+     * @return void
476 528
      */
477 529
     public function createObjectSecurity($object);
478 530
 
@@ -483,6 +535,7 @@  discard block
 block discarded – undo
483 535
 
484 536
     /**
485 537
      * NEXT_MAJOR: Uncomment the second parameter.
538
+     * @return void
486 539
      */
487 540
     public function setParent(self $admin/*, string $parentAssociationMapping*/);
488 541
 
@@ -508,6 +561,7 @@  discard block
 block discarded – undo
508 561
      * Set the translation domain.
509 562
      *
510 563
      * @param string $translationDomain the translation domain
564
+     * @return void
511 565
      */
512 566
     public function setTranslationDomain($translationDomain);
513 567
 
@@ -529,6 +583,7 @@  discard block
 block discarded – undo
529 583
 
530 584
     /**
531 585
      * Set the form groups.
586
+     * @return void
532 587
      */
533 588
     public function setFormGroups(array $formGroups);
534 589
 
@@ -537,6 +592,9 @@  discard block
 block discarded – undo
537 592
      */
538 593
     public function getFormTabs();
539 594
 
595
+    /**
596
+     * @return void
597
+     */
540 598
     public function setFormTabs(array $formTabs);
541 599
 
542 600
     /**
@@ -544,12 +602,16 @@  discard block
 block discarded – undo
544 602
      */
545 603
     public function getShowTabs();
546 604
 
605
+    /**
606
+     * @return void
607
+     */
547 608
     public function setShowTabs(array $showTabs);
548 609
 
549 610
     /**
550 611
      * Remove a form group field.
551 612
      *
552 613
      * @param string $key
614
+     * @return void
553 615
      */
554 616
     public function removeFieldFromFormGroup($key);
555 617
 
@@ -564,6 +626,7 @@  discard block
 block discarded – undo
564 626
 
565 627
     /**
566 628
      * Set the show groups.
629
+     * @return void
567 630
      */
568 631
     public function setShowGroups(array $showGroups);
569 632
 
@@ -571,6 +634,7 @@  discard block
 block discarded – undo
571 634
      * Reorder items in showGroup.
572 635
      *
573 636
      * @param string $group
637
+     * @return void
574 638
      */
575 639
     public function reorderShowGroup($group, array $keys);
576 640
 
@@ -580,6 +644,7 @@  discard block
 block discarded – undo
580 644
      * add a FieldDescription.
581 645
      *
582 646
      * @param string $name
647
+     * @return void
583 648
      */
584 649
     public function addFormFieldDescription($name, FieldDescriptionInterface $fieldDescription);
585 650
 
@@ -589,6 +654,7 @@  discard block
 block discarded – undo
589 654
      * Remove a FieldDescription.
590 655
      *
591 656
      * @param string $name
657
+     * @return void
592 658
      */
593 659
     public function removeFormFieldDescription($name);
594 660
 
@@ -601,6 +667,7 @@  discard block
 block discarded – undo
601 667
 
602 668
     /**
603 669
      * Sets the list of supported sub classes.
670
+     * @return void
604 671
      */
605 672
     public function setSubClasses(array $subClasses);
606 673
 
@@ -669,6 +736,7 @@  discard block
 block discarded – undo
669 736
      * Set the current child status.
670 737
      *
671 738
      * @param bool $currentChild
739
+     * @return void
672 740
      */
673 741
     public function setCurrentChild($currentChild);
674 742
 
@@ -718,6 +786,7 @@  discard block
 block discarded – undo
718 786
 
719 787
     /**
720 788
      * @param string $mode
789
+     * @return void
721 790
      */
722 791
     public function setListMode($mode);
723 792
 
Please login to merge, or discard this patch.