vendor/doctrine/lib/Doctrine/ORM/Internal/Hydration/HydrationException.php
author ymh <ymh.work@gmail.com>
Fri, 09 Dec 2011 04:53:56 +0100
changeset 56 84ce711288ca
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
add relaunch wp

<?php

namespace Doctrine\ORM\Internal\Hydration;

class HydrationException extends \Doctrine\ORM\ORMException
{
    public static function nonUniqueResult()
    {
        return new self("The result returned by the query was not unique.");
    }
    
    public static function parentObjectOfRelationNotFound($alias, $parentAlias)
    {
        return new self("The parent object of entity result with alias '$alias' was not found."
                . " The parent alias is '$parentAlias'.");
    }
}