DMS\Filter\Mapping\Loader\AnnotationLoader::loadClassMetadata PHP Method

loadClassMetadata() public method

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