public function loadMetadataForClass(\ReflectionClass $class)
    {
        foreach ($this->drivers as $driver) {
            if (null !== $metadata = $driver->loadMetadataForClass($class)) {
                return $metadata;
            }
        }
    }
public function loadMetadataForClass(\ReflectionClass $class)
    {
        foreach ($this->drivers as $driver) {
            if (null !== $metadata = $driver->loadMetadataForClass($class)) {
                return $metadata;
            }
        }
    }
public function loadMetadataForClass ( \ ReflectionClass $ class ) { foreach ( $ this -> drivers as $ driver ) { if ( null !== $ metadata = $ driver -> loadMetadataForClass ( $ class ) ) { return $ metadata ; } } }
Gets class metadata for the given class name.

@param \ReflectionClass $class

@return ClassMetadata|null Returns null when no metadata is found.
Gets class metadata for the given class name .