public function loadClassMetadata(Mapping\ClassMetadataInterface $metadata)
    {
        
        $reflClass = $metadata->getReflectionClass();
        
        //Iterate over properties to get annotations
        foreach($reflClass->getProperties() as $property) {
            
            $this->readProperty($property, $metadata);
            
        }
        
    }
public function loadClassMetadata(Mapping\ClassMetadataInterface $metadata)
    {
        
        $reflClass = $metadata->getReflectionClass();
        
        //Iterate over properties to get annotations
        foreach($reflClass->getProperties() as $property) {
            
            $this->readProperty($property, $metadata);
            
        }
        
    }
public function loadClassMetadata ( Mapping \ ClassMetadataInterface $ metadata ) { $ reflClass = $ metadata -> getReflectionClass ( ) ; //Iterate over properties to get annotations foreach ( $ reflClass -> getProperties ( ) as $ property ) { $ this -> readProperty ( $ property , $ metadata ) ; } }
Loads annotations data present in the class, using a Doctrine
annotation reader

@param ClassMetadata $metadata
Loads annotations data present in the class using a Doctrine annotation reader