translationApplier->apply($result); return $result; } public function afterDelete(Post $subject, Post $result): Post { $this->translationRepository->clearEntityTranslations( (int)$subject->getId(), CmsTranslationRepository::ENTITY_BLOG_POST ); return $result; } }