Files
haushalt/backend/vendor/doctrine/orm/src/Exception/DuplicateFieldException.php
2026-03-24 00:04:55 +01:00

18 lines
377 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\ORM\Exception;
use LogicException;
use function sprintf;
class DuplicateFieldException extends LogicException implements ORMException
{
public static function create(string $argName, string $columnName): self
{
return new self(sprintf('Name "%s" for "%s" already in use.', $argName, $columnName));
}
}