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

declare(strict_types=1);

namespace 
DoctrineDBALException;

use 
DoctrineDBALException;

use function 
sprintf;

class 
DatabaseRequired extends Exception
{
    public static function new(
string $methodName): self
    
{
        return new 
self(sprintf('A database is required for the method: %s.'$methodName));
    }
}
Онлайн: 2
Реклама