getMediaRelationUpdateService() ->removeMediaRelations($event->getMediaId()); } private function getMediaRelationUpdateService(): MediaRelationRemoveService { return $this->getServiceLocator()->get(MediaRelationRemoveService::class); } }