Файл vendor/doctrine/dbal/src/Schema/Exception/ColumnAlreadyExists.php Вес запакованого файла 263b (263 b) Вес распакованого файла: 462b (462 b) Метод сжатия: 8
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Schema\Exception;
use Doctrine\DBAL\Schema\SchemaException;
use function sprintf;
final class ColumnAlreadyExists extends SchemaException
{
public static function new(string $tableName, string $columnName): self
{
return new self(
sprintf('The column "%s" on table "%s" already exists.', $columnName, $tableName),
self::COLUMN_ALREADY_EXISTS,
);
}
}