Your IP : 216.73.216.158


Current Path : /var/www/surf/TYPO3/vendor/doctrine/dbal/src/Driver/PgSQL/Exception/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/doctrine/dbal/src/Driver/PgSQL/Exception/UnknownParameter.php

<?php

namespace Doctrine\DBAL\Driver\PgSQL\Exception;

use Doctrine\DBAL\Driver\AbstractException;

use function sprintf;

/** @psalm-immutable */
final class UnknownParameter extends AbstractException
{
    public static function new(string $param): self
    {
        return new self(
            sprintf('Could not find parameter %s in the SQL statement', $param),
        );
    }
}