protected function loadMetadata($className)
    {
        $resource = new ResourceMetadata($className);

        $this->driver->loadMetadataForClass($className, $resource);

        $this->loadedMetadata[$className] = $resource;
        $this->resourceClassMap[$resource->getName()] = $className;
    }
protected function loadMetadata($className)
    {
        $resource = new ResourceMetadata($className);

        $this->driver->loadMetadataForClass($className, $resource);

        $this->loadedMetadata[$className] = $resource;
        $this->resourceClassMap[$resource->getName()] = $className;
    }
protected function loadMetadata ( $ className ) { $ resource = new ResourceMetadata ( $ className ) ; $ this -> driver -> loadMetadataForClass ( $ className , $ resource ) ; $ this -> loadedMetadata [ $ className ] = $ resource ; $ this -> resourceClassMap [ $ resource -> getName ( ) ] = $ className ; }
Loads the ResourceMetadata for the specified class.

@param string $className
Loads the ResourceMetadata for the specified class .