src/DMS/Filter/Mapping/ClassMetadataFactory.php
protected function loadParentMetadata(ClassMetadataInterface $metadata)
    {
        $parent = $metadata->getReflectionClass()->getParentClass();

        if ($parent) {
            $metadata->mergeRules($this->getClassMetadata($parent->getName()));
        }
    }
protected function loadParentMetadata(ClassMetadataInterface $metadata)
    {
        $parent = $metadata->getReflectionClass()->getParentClass();

        if ($parent) {
            $metadata->mergeRules($this->getClassMetadata($parent->getName()));
        }
    }
protected function loadParentMetadata ( ClassMetadataInterface $ metadata ) { $ parent = $ metadata -> getReflectionClass ( ) -> getParentClass ( ) ; if ( $ parent ) { $ metadata -> mergeRules ( $ this -> getClassMetadata ( $ parent -> getName ( ) ) ) ; } }
Checks if the class being parsed has a parent and cascades parsing
to its parent

@param ClassMetadataInterface $metadata
Checks if the class being parsed has a parent and cascades parsing to its parent