Doctrine\Bundle\DoctrineBundle\Mapping\MetadataFactory::getBundleMetadata
Gets the metadata of all classes of a bundle.
Signature
public function getBundleMetadata(BundleInterface
$bundle )
Parameters
$bundle
— Symfony\Component\HttpKernel\Bundle\BundleInterface- A BundleInterface instance
Returns
- ClassMetadataCollection
- A ClassMetadataCollection instance
Errors/Exceptions
-
RuntimeException
- When bundle does not contain mapped entities