protected function loadInterfaceMetadata($metadata)
    {
        foreach( $metadata->getReflectionClass()->getInterfaces() as $interface ) {
            
            $metadata->mergeRules($this->getClassMetadata($interface->getName()));
            
        }
    }
protected function loadInterfaceMetadata($metadata)
    {
        foreach( $metadata->getReflectionClass()->getInterfaces() as $interface ) {
            
            $metadata->mergeRules($this->getClassMetadata($interface->getName()));
            
        }
    }
protected function loadInterfaceMetadata ( $ metadata ) { foreach ( $ metadata -> getReflectionClass ( ) -> getInterfaces ( ) as $ interface ) { $ metadata -> mergeRules ( $ this -> getClassMetadata ( $ interface -> getName ( ) ) ) ; } }
Checks if the object has interfaces and cascades parsing of annotatiosn
to all the interfaces

@param ClassMetadata $metadata
Checks if the object has interfaces and cascades parsing of annotatiosn to all the interfaces