code: public function postUpdate(LifecycleEventArgs $args)
      {
          $entity = $args->getEntity();
  
          if (!$entity instanceof Parameter) {
              return;
          }
  
          $entity->setValue(unserialize($entity->getValue()));
      }
docs: Unserialize parameter entity value property after saving in storage.
  
  @param \Doctrine\ORM\Event\LifecycleEventArgs $args