Вход Регистрация
Файл: vendor/doctrine/dbal/src/Schema/Exception/ColumnAlreadyExists.php
Строк: 25
<?php

declare(strict_types=1);

namespace 
DoctrineDBALSchemaException;

use 
DoctrineDBALSchemaSchemaException;

use function 
sprintf;

final class 
ColumnAlreadyExists extends SchemaException
{
    public static function new(
string $tableNamestring $columnName): self
    
{
        return new 
self(
            
sprintf('The column "%s" on table "%s" already exists.'$columnName$tableName),
            
self::COLUMN_ALREADY_EXISTS,
        );
    }
}
Онлайн: 1
Реклама