protected function doLoadClassMetadata($type)
    {
        if (false === $this->classMetadataExists($type)) {
            return null;
        }

        $className = $this->getClassNameForType($type);
        return $this->mf->getMetadataFor($className);
    }
protected function doLoadClassMetadata($type)
    {
        if (false === $this->classMetadataExists($type)) {
            return null;
        }

        $className = $this->getClassNameForType($type);
        return $this->mf->getMetadataFor($className);
    }
protected function doLoadClassMetadata ( $ type ) { if ( false === $ this -> classMetadataExists ( $ type ) ) { return null ; } $ className = $ this -> getClassNameForType ( $ type ) ; return $ this -> mf -> getMetadataFor ( $ className ) ; }
Loads Doctrine ClassMetadata for an entity type.

@param   string  $type
@return  ClassMetadata|null
Loads Doctrine ClassMetadata for an entity type .