$entryArchived->setContent('Youhou');
$entryArchived->setTitle('Youhou');
$entryArchived->addTag($tagArchived);
- $entryArchived->setArchived(true);
+ $entryArchived->updateArchived(true);
$em->persist($entryArchived);
$annotationArchived = new Annotation($user);