ColumnAlreadyExists.php
2 years ago
ColumnDoesNotExist.php
2 years ago
ForeignKeyDoesNotExist.php
2 years ago
IndexAlreadyExists.php
2 years ago
IndexDoesNotExist.php
2 years ago
IndexNameInvalid.php
2 years ago
InvalidTableName.php
2 years ago
NamedForeignKeyRequired.php
2 years ago
NamespaceAlreadyExists.php
2 years ago
SequenceAlreadyExists.php
2 years ago
SequenceDoesNotExist.php
2 years ago
TableAlreadyExists.php
2 years ago
TableDoesNotExist.php
2 years ago
UniqueConstraintDoesNotExist.php
2 years ago
UnknownColumnOption.php
2 years ago
index.php
2 years ago
SequenceDoesNotExist.php
14 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\DBAL\Schema\Exception; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\DBAL\Schema\SchemaException; |
| 6 | use function sprintf; |
| 7 | final class SequenceDoesNotExist extends SchemaException |
| 8 | { |
| 9 | public static function new(string $sequenceName) : self |
| 10 | { |
| 11 | return new self(sprintf('There exists no sequence with the name "%s".', $sequenceName), self::SEQUENCE_DOENST_EXIST); |
| 12 | } |
| 13 | } |
| 14 |