code: public function load(ObjectManager $manager)
      {
          // Disable the event listener in charge of loading tenant data
          $metadata = $manager->getClassMetadata(TenantEntity::class);
  
          foreach ($metadata->entityListeners as $event => $listeners) {
              foreach ($listeners as $key => $listener) {
                  if (LoaderListener::class === $listener['class']) {
                      unset($metadata->entityListeners[$event][$key]);
                  }
              }
          }
  
          $objects = $this->parse($this->path);
  
          foreach ($objects as $object) {
              $tenant = new TenantEntity;
              $tenant
                  ->setUuid($object->uuid)
                  ->setData((array) $object->data);
              $manager->persist($tenant);
          }
  
          $manager->flush();
      }
docs: {@inheritdoc}