ok

Mini Shell

Direktori : /home2/selectio/public_html/fms-worksuite/vendor/doctrine/dbal/src/Exception/
Upload File :
Current File : /home2/selectio/public_html/fms-worksuite/vendor/doctrine/dbal/src/Exception/DatabaseRequired.php

<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Exception;

use Doctrine\DBAL\Exception;

use function sprintf;

/** @psalm-immutable */
class DatabaseRequired extends Exception
{
    public static function new(string $methodName): self
    {
        return new self(sprintf('A database is required for the method: %s.', $methodName));
    }
}

Zerion Mini Shell 1.0