equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 namespace Doctrine\ORM\Internal\Hydration; |
|
4 |
|
5 class HydrationException extends \Doctrine\ORM\ORMException |
|
6 { |
|
7 public static function nonUniqueResult() |
|
8 { |
|
9 return new self("The result returned by the query was not unique."); |
|
10 } |
|
11 |
|
12 public static function parentObjectOfRelationNotFound($alias, $parentAlias) |
|
13 { |
|
14 return new self("The parent object of entity result with alias '$alias' was not found." |
|
15 . " The parent alias is '$parentAlias'."); |
|
16 } |
|
17 } |