protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
    {
        //Manipulates $classMetadata;
        $this->driver->loadMetadataForClass($class->getName(), $class);

        if ($this->evm->hasListeners(Events::loadClassMetadata)) {
            $eventArgs = new LoadClassMetadataEventArgs($class, $this->sm);
            $this->evm->dispatchEvent(Events::loadClassMetadata, $eventArgs);
        }
    }
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
    {
        //Manipulates $classMetadata;
        $this->driver->loadMetadataForClass($class->getName(), $class);

        if ($this->evm->hasListeners(Events::loadClassMetadata)) {
            $eventArgs = new LoadClassMetadataEventArgs($class, $this->sm);
            $this->evm->dispatchEvent(Events::loadClassMetadata, $eventArgs);
        }
    }
protected function doLoadMetadata ( $ class , $ parent , $ rootEntityFound , array $ nonSuperclassParents ) { //Manipulates $classMetadata; $ this -> driver -> loadMetadataForClass ( $ class -> getName ( ) , $ class ) ; if ( $ this -> evm -> hasListeners ( Events :: loadClassMetadata ) ) { $ eventArgs = new LoadClassMetadataEventArgs ( $ class , $ this -> sm ) ; $ this -> evm -> dispatchEvent ( Events :: loadClassMetadata , $ eventArgs ) ; } }
Actually load the metadata from the underlying metadata

@param ClassMetadataInterface|ClassMetadata $class
@param ClassMetadataInterface|ClassMetadata $parent
@param bool $rootEntityFound

@return void
Actually load the metadata from the underlying metadata