@@ -210,6 +210,10 @@ |
||
| 210 | 210 | return new FormMapper($contractor->reveal(), $formBuilder, $this->admin->reveal()); |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | + /** |
|
| 214 | + * @param string $uniqid |
|
| 215 | + * @param Request $request |
|
| 216 | + */ |
|
| 213 | 217 | private function configureAdmin($uniqid = null, $request = null, $modelManager = null): void |
| 214 | 218 | { |
| 215 | 219 | $this->admin->getUniqid()->willReturn($uniqid); |
@@ -3685,6 +3685,9 @@ discard block |
||
| 3685 | 3685 | ]; |
| 3686 | 3686 | } |
| 3687 | 3687 | |
| 3688 | + /** |
|
| 3689 | + * @param string $method |
|
| 3690 | + */ |
|
| 3688 | 3691 | private function assertLoggerLogsModelManagerException($subject, $method): void |
| 3689 | 3692 | { |
| 3690 | 3693 | $exception = new ModelManagerException( |
@@ -3707,6 +3710,10 @@ discard block |
||
| 3707 | 3710 | ]); |
| 3708 | 3711 | } |
| 3709 | 3712 | |
| 3713 | + /** |
|
| 3714 | + * @param string $id |
|
| 3715 | + * @param string $domain |
|
| 3716 | + */ |
|
| 3710 | 3717 | private function expectTranslate($id, array $parameters = [], $domain = null, $locale = null): void |
| 3711 | 3718 | { |
| 3712 | 3719 | $this->translator->expects($this->once()) |
@@ -581,6 +581,9 @@ discard block |
||
| 581 | 581 | return $datagrid; |
| 582 | 582 | } |
| 583 | 583 | |
| 584 | + /** |
|
| 585 | + * @param string $field |
|
| 586 | + */ |
|
| 584 | 587 | private function configureFormConfig($field, $disabled = false): void |
| 585 | 588 | { |
| 586 | 589 | $form = $this->prophesize(Form::class); |
@@ -600,6 +603,9 @@ discard block |
||
| 600 | 603 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
| 601 | 604 | } |
| 602 | 605 | |
| 606 | + /** |
|
| 607 | + * @param string $field |
|
| 608 | + */ |
|
| 603 | 609 | private function configureFormConfigComplexProperty($field): void |
| 604 | 610 | { |
| 605 | 611 | $form = $this->prophesize(Form::class); |
@@ -619,6 +625,9 @@ discard block |
||
| 619 | 625 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
| 620 | 626 | } |
| 621 | 627 | |
| 628 | + /** |
|
| 629 | + * @param string $field |
|
| 630 | + */ |
|
| 622 | 631 | private function configureFormConfigComplexPropertyArray($field): void |
| 623 | 632 | { |
| 624 | 633 | $form = $this->prophesize(Form::class); |
@@ -581,6 +581,9 @@ discard block |
||
| 581 | 581 | return $datagrid; |
| 582 | 582 | } |
| 583 | 583 | |
| 584 | + /** |
|
| 585 | + * @param string $field |
|
| 586 | + */ |
|
| 584 | 587 | private function configureFormConfig($field, $disabled = false): void |
| 585 | 588 | { |
| 586 | 589 | $form = $this->prophesize(Form::class); |
@@ -600,6 +603,9 @@ discard block |
||
| 600 | 603 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
| 601 | 604 | } |
| 602 | 605 | |
| 606 | + /** |
|
| 607 | + * @param string $field |
|
| 608 | + */ |
|
| 603 | 609 | private function configureFormConfigComplexProperty($field): void |
| 604 | 610 | { |
| 605 | 611 | $form = $this->prophesize(Form::class); |
@@ -619,6 +625,9 @@ discard block |
||
| 619 | 625 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
| 620 | 626 | } |
| 621 | 627 | |
| 628 | + /** |
|
| 629 | + * @param string $field |
|
| 630 | + */ |
|
| 622 | 631 | private function configureFormConfigComplexPropertyArray($field): void |
| 623 | 632 | { |
| 624 | 633 | $form = $this->prophesize(Form::class); |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | { |
| 20 | 20 | protected $metadataClass = null; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $associationMapping |
|
| 24 | + */ |
|
| 22 | 25 | public function setParentAssociationMapping($associationMapping): void |
| 23 | 26 | { |
| 24 | 27 | $this->parentAssociationMapping = $associationMapping; |