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

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

        return $this->loadedMetadata;
    }