init
This commit is contained in:
17
backend/vendor/doctrine/orm/src/Exception/DuplicateFieldException.php
vendored
Normal file
17
backend/vendor/doctrine/orm/src/Exception/DuplicateFieldException.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user