Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace Doctrine\DBAL\Schema\Exception;
6
 
7
use Doctrine\DBAL\Schema\SchemaException;
8
 
9
use function sprintf;
10
 
11
/** @psalm-immutable */
12
final class NamespaceAlreadyExists extends SchemaException
13
{
14
    public static function new(string $namespaceName): self
15
    {
16
        return new self(
17
            sprintf('The namespace with name "%s" already exists.', $namespaceName),
18
            self::NAMESPACE_ALREADY_EXISTS,
19
        );
20
    }
21
}