1
0
mirror of synced 2025-03-02 02:43:20 +03:00

17 lines
500 B
PHP
Raw Normal View History

2008-09-12 09:58:02 +00:00
<?php
namespace Doctrine\ORM\Internal\Hydration;
class HydrationException extends \Doctrine\ORM\ORMException
2008-09-12 09:58:02 +00:00
{
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'.");
}
}