Doctrine\Bundle\DoctrineBundle\Mapping\MetadataFactory::findNamespaceAndPathForMetadata
Find and configure path and namespace for the metadata collection.
Signature
public function findNamespaceAndPathForMetadata(ClassMetadataCollection
$metadata,
[string|null
$path = null] )
Parameters
$metadata
— Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataCollection
$path
— object
Errors/Exceptions
-
RuntimeException
- When unable to determine the path