HydrationException.php 500B

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