public static function MappingException::invalidMappingFile in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php \Doctrine\Common\Persistence\Mapping\MappingException::invalidMappingFile()
Parameters
string $entityName:
string $fileName:
Return value
self
1 call to MappingException::invalidMappingFile()
- FileDriver::getElement in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ FileDriver.php - Gets the element of schema meta data for the class from the mapping file. This will lazily load the mapping file if it is not loaded yet.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ MappingException.php, line 84
Class
- MappingException
- A MappingException indicates that something is wrong with the mapping setup.
Namespace
Doctrine\Common\Persistence\MappingCode
public static function invalidMappingFile($entityName, $fileName) {
return new self("Invalid mapping file '{$fileName}' for class '{$entityName}'.");
}