Page MenuHomeWickedGov Phorge

NoKeyValue.php
No OneTemporary

Size
474 B
Referenced Files
None
Subscribers
None

NoKeyValue.php

<?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,
),
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 22:01 (1 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c9/eb/87d7f60250bda18ac98ed083c4bc
Default Alt Text
NoKeyValue.php (474 B)

Event Timeline