public function getAllMetadata()
    {
        $resourceClasses = $this->driver->getAllClassNames();

        foreach ($resourceClasses as $class) {
            $this->getMetadataFor($class);
        }

        return $this->loadedMetadata;
    }
public function getAllMetadata()
    {
        $resourceClasses = $this->driver->getAllClassNames();

        foreach ($resourceClasses as $class) {
            $this->getMetadataFor($class);
        }

        return $this->loadedMetadata;
    }
public function getAllMetadata ( ) { $ resourceClasses = $ this -> driver -> getAllClassNames ( ) ; foreach ( $ resourceClasses as $ class ) { $ this -> getMetadataFor ( $ class ) ; } return $ this -> loadedMetadata ; }
Returns the entire collection of ResourceMetadata objects for all mapped resources. Entities not marked as
resources are not included.

@return array
Returns the entire collection of ResourceMetadata objects for all mapped resources . Entities not marked as resources are not included .