Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
doctrine
/
dbal
/
src
/
Driver
/
API
/
MySQL
:
DatabaseRequired.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Doctrine\DBAL\Exception; use Doctrine\DBAL\Exception; use function sprintf; /** @psalm-immutable */ class DatabaseRequired extends \Exception implements Exception { public static function new(string $methodName): self { return new self( sprintf( 'A database is required for the method: %s.', $methodName, ), ); } }