code: public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
      {
          $this->classMetadata = $eventArgs->getClassMetadata();
          $reflectionClass     = $this->classMetadata->getReflectionClass();
  
          if (null === $reflectionClass) {
              return;
          }
  
          if ($this->hasMethod($reflectionClass, 'updateTimestamps')) {
              $this->addLifecycleCallbacks();
              $this->mapFields();
          }
      }
docs: Event triggered during metadata loading
  
  @param LoadClassMetadataEventArgs $eventArgs