|
16 | 16 |
|
17 | 17 | class DoctrineListRepresentationFactory
|
18 | 18 | {
|
19 |
| - private RestHelperInterface $restHelper; |
20 |
| - private ListRestHelperInterface $listRestHelper; |
21 |
| - private DoctrineListBuilderFactory $listBuilderFactory; |
22 |
| - private FieldDescriptorFactoryInterface $fieldDescriptorFactory; |
23 |
| - private WebspaceManagerInterface $webspaceManager; |
24 |
| - private EventTranslationRepository $eventTranslationRepository; |
25 |
| - private MediaManagerInterface $mediaManager; |
26 |
| - |
27 | 19 | public function __construct(
|
28 |
| - RestHelperInterface $restHelper, |
29 |
| - ListRestHelperInterface $listRestHelper, |
30 |
| - DoctrineListBuilderFactory $listBuilderFactory, |
31 |
| - FieldDescriptorFactoryInterface $fieldDescriptorFactory, |
32 |
| - WebspaceManagerInterface $webspaceManager, |
33 |
| - EventTranslationRepository $eventTranslationRepository, |
34 |
| - MediaManagerInterface $mediaManager |
35 |
| - ) { |
36 |
| - $this->restHelper = $restHelper; |
37 |
| - $this->listRestHelper = $listRestHelper; |
38 |
| - $this->listBuilderFactory = $listBuilderFactory; |
39 |
| - $this->fieldDescriptorFactory = $fieldDescriptorFactory; |
40 |
| - $this->webspaceManager = $webspaceManager; |
41 |
| - $this->eventTranslationRepository = $eventTranslationRepository; |
42 |
| - $this->mediaManager = $mediaManager; |
43 |
| - } |
| 20 | + private RestHelperInterface $restHelper, |
| 21 | + private ListRestHelperInterface $listRestHelper, |
| 22 | + private DoctrineListBuilderFactory $listBuilderFactory, |
| 23 | + private FieldDescriptorFactoryInterface $fieldDescriptorFactory, |
| 24 | + private WebspaceManagerInterface $webspaceManager, |
| 25 | + private EventTranslationRepository $eventTranslationRepository, |
| 26 | + private MediaManagerInterface $mediaManager |
| 27 | + ) {} |
44 | 28 |
|
45 |
| - /** |
46 |
| - * @param string $resourceKey |
47 |
| - * @param mixed[] $filters |
48 |
| - * @param mixed[] $parameters |
49 |
| - * @return PaginatedRepresentation |
50 |
| - */ |
51 | 29 | public function createDoctrineListRepresentation(
|
52 | 30 | string $resourceKey,
|
53 | 31 | array $filters = [],
|
@@ -92,9 +70,6 @@ public function createDoctrineListRepresentation(
|
92 | 70 | );
|
93 | 71 | }
|
94 | 72 |
|
95 |
| - /** |
96 |
| - * @param mixed[] |
97 |
| - */ |
98 | 73 | private function addImagesToListElements(array $listeElements, ?string $locale): array
|
99 | 74 | {
|
100 | 75 | $ids = array_filter(array_column($listeElements, 'image'));
|
|
0 commit comments