code: public function preUpdate(PreUpdateEventArgs $args)
      {
          $entity = $args->getEntity();
  
          if (!$entity instanceof Translatable) {
              return;
          }
  
          $this->translationService->transfer($entity);
      }
docs: Encrypt encryptable entity properties before saving in storage.
  
  @param \Doctrine\ORM\Event\PreUpdateEventArgs $args