Fixing ORMException
This commit is contained in:
parent
c43740c08a
commit
c6d784abc5
@ -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'!");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user