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

declare(strict_types=1);

namespace 
DoctrineDBALSchemaException;

use 
DoctrineDBALSchemaSchemaException;

use function 
sprintf;

final class 
ForeignKeyDoesNotExist extends SchemaException
{
    public static function new(
string $foreignKeyNamestring $table): self
    
{
        return new 
self(
            
sprintf('There exists no foreign key with the name "%s" on table "%s".'$foreignKeyName$table),
            
self::FOREIGNKEY_DOESNT_EXIST,
        );
    }
}
Онлайн: 1
Реклама