D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
vendor
/
doctrine
/
dbal
/
src
/
Exception
/
Filename :
DatabaseRequired.php
back
Copy
<?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)); } }