vendor/doctrine/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     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 }