Add class name as argument.
This commit is contained in:
parent
e8f51acdb2
commit
4b061a0e4c
@ -30,8 +30,8 @@ class EntityNotFoundException extends ORMException
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
public function __construct($class)
|
||||
{
|
||||
parent::__construct('Entity was not found.');
|
||||
parent::__construct("Entity of type '{$class}' was not found.");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user