blob: 3b5d89dc135ac992590b9a68e3c4ef209120e834 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Schema\Exception;
use Doctrine\DBAL\Schema\SchemaException;
use InvalidArgumentException;
use function sprintf;
/** @psalm-immutable */
final class InvalidTableName extends InvalidArgumentException implements SchemaException
{
public static function new(string $tableName): self
{
return new self(sprintf('Invalid table name specified "%s".', $tableName));
}
}
|