+ /**
+ * {@inheritdoc}
+ */
+ public function preUpdate(PreUpdateEventArgs $eventArgs) {
+ //Check that we have a civility instance
+ if (($user = $eventArgs->getObject()) instanceof Civility) {
+ //Set updated value
+ $user->setUpdated(new \DateTime('now'));
+ }
+ }
+