Parameters
string $entityName:
string $fileName:
Return value
MappingException
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php, line 82
Class
- MappingException
- A MappingException indicates that something is wrong with the mapping setup.
Namespace
Doctrine\Common\Persistence\Mapping
Code
public static function invalidMappingFile($entityName, $fileName) {
return new self("Invalid mapping file '{$fileName}' for class '{$entityName}'.");
}