1
0
mirror of synced 2024-12-12 22:36:02 +03:00

[2.0] Fixed missing parameter in MappingException::mappingFileNotFound

This commit is contained in:
beberlei 2010-02-25 21:36:48 +00:00
parent bbda52a448
commit b7de1ed115

View File

@ -59,9 +59,9 @@ class MappingException extends \Doctrine\ORM\ORMException
return new self("The association mapping '$fieldName' misses the 'sourceEntity' attribute.");
}
public static function mappingFileNotFound($fileName)
public static function mappingFileNotFound($entityName, $fileName)
{
return new self("No mapping file found named '$fileName'.");
return new self("No mapping file found named '$fileName' for class '$entityName'.");
}
public static function mappingNotFound($fieldName)