1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Fixing ORMException

This commit is contained in:
Jonathan H. Wage 2010-04-14 20:42:39 -04:00
parent c43740c08a
commit c6d784abc5

View File

@ -2,8 +2,12 @@
namespace Doctrine\ORM\Tools;
class ToolsException extends ORMException {
public static function couldNotMapDoctrine1Type($type) {
use Doctrine\ORM\ORMException;
class ToolsException extends ORMException
{
public static function couldNotMapDoctrine1Type($type)
{
return new self("Could not map doctrine 1 type '$type'!");
}
}