public function edit($commentContent, EditorialComment $comment, User $user)
{
if ($comment->getUser()->getId() == $user->getId() || $user->isAdmin()) {
$comment->setComment($commentContent);
} else {
throw new AccessDeniedHttpException("User is not allowed to edit someone else comment");
}
$this->em->flush();
return true;
}