| @@ 138-168 (lines=31) @@ | ||
| 135 | * @param LocationService $locationService |
|
| 136 | * @param LanguageService $languageService |
|
| 137 | */ |
|
| 138 | public function __construct( |
|
| 139 | RepositoryInterface $repository, |
|
| 140 | ContentService $contentService, |
|
| 141 | ContentTypeService $contentTypeService, |
|
| 142 | FieldTypeService $fieldTypeService, |
|
| 143 | RoleService $roleService, |
|
| 144 | ObjectStateService $objectStateService, |
|
| 145 | URLWildcardService $urlWildcardService, |
|
| 146 | URLAliasService $urlAliasService, |
|
| 147 | UserService $userService, |
|
| 148 | SearchService $searchService, |
|
| 149 | SectionService $sectionService, |
|
| 150 | TrashService $trashService, |
|
| 151 | LocationService $locationService, |
|
| 152 | LanguageService $languageService |
|
| 153 | ) { |
|
| 154 | $this->repository = $repository; |
|
| 155 | $this->contentService = $contentService; |
|
| 156 | $this->contentTypeService = $contentTypeService; |
|
| 157 | $this->fieldTypeService = $fieldTypeService; |
|
| 158 | $this->roleService = $roleService; |
|
| 159 | $this->objectStateService = $objectStateService; |
|
| 160 | $this->urlWildcardService = $urlWildcardService; |
|
| 161 | $this->urlAliasService = $urlAliasService; |
|
| 162 | $this->userService = $userService; |
|
| 163 | $this->searchService = $searchService; |
|
| 164 | $this->sectionService = $sectionService; |
|
| 165 | $this->trashService = $trashService; |
|
| 166 | $this->locationService = $locationService; |
|
| 167 | $this->languageService = $languageService; |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * @deprecated since 6.6, to be removed. Use PermissionResolver::getCurrentUserReference() instead. |
|
| @@ 148-180 (lines=33) @@ | ||
| 145 | * @param \eZ\Publish\Core\SignalSlot\LocationService $locationService |
|
| 146 | * @param \eZ\Publish\Core\SignalSlot\LanguageService $languageService |
|
| 147 | */ |
|
| 148 | public function __construct( |
|
| 149 | RepositoryInterface $repository, |
|
| 150 | SignalDispatcher $signalDispatcher, |
|
| 151 | ContentService $contentService, |
|
| 152 | ContentTypeService $contentTypeService, |
|
| 153 | FieldTypeService $fieldTypeService, |
|
| 154 | RoleService $roleService, |
|
| 155 | ObjectStateService $objectStateService, |
|
| 156 | URLWildcardService $urlWildcardService, |
|
| 157 | URLAliasService $urlAliasService, |
|
| 158 | UserService $userService, |
|
| 159 | SearchService $searchService, |
|
| 160 | SectionService $sectionService, |
|
| 161 | TrashService $trashService, |
|
| 162 | LocationService $locationService, |
|
| 163 | LanguageService $languageService |
|
| 164 | ) { |
|
| 165 | $this->signalDispatcher = $signalDispatcher; |
|
| 166 | $this->repository = $repository; |
|
| 167 | $this->contentService = $contentService; |
|
| 168 | $this->contentTypeService = $contentTypeService; |
|
| 169 | $this->fieldTypeService = $fieldTypeService; |
|
| 170 | $this->roleService = $roleService; |
|
| 171 | $this->objectStateService = $objectStateService; |
|
| 172 | $this->urlWildcardService = $urlWildcardService; |
|
| 173 | $this->urlAliasService = $urlAliasService; |
|
| 174 | $this->userService = $userService; |
|
| 175 | $this->searchService = $searchService; |
|
| 176 | $this->sectionService = $sectionService; |
|
| 177 | $this->trashService = $trashService; |
|
| 178 | $this->locationService = $locationService; |
|
| 179 | $this->languageService = $languageService; |
|
| 180 | } |
|
| 181 | ||
| 182 | /** |
|
| 183 | * @deprecated since 6.6, to be removed. Use PermissionResolver::getCurrentUserReference() instead. |
|