Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
peripherad
/
vendor
/
doctrine
/
dbal
/
src
/
Exception
:
NoKeyValue.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Doctrine\DBAL\Exception; use Doctrine\DBAL\Exception; use function sprintf; /** * @internal * * @psalm-immutable */ final class NoKeyValue extends Exception { public static function fromColumnCount(int $columnCount): self { return new self( sprintf( 'Fetching as key-value pairs requires the result to contain at least 2 columns, %d given.', $columnCount, ), ); } }