public function postFlush(PostFlushEventArgs $args)
    {
        $maps = $args->getEntityManager()->getUnitOfWork()->getIdentityMap();

        foreach ($maps as $entities) {
            foreach ($entities as $entity) {
                if (!$entity instanceof Parameter) {
                    continue;
                }

                $entity->setValue(unserialize($entity->getValue()));
            }
        }
    }