Documentation

NamespaceAlreadyExists extends SchemaException
in package

FinalYes
Tags
psalm-immutable

Table of Contents

Constants

COLUMN_ALREADY_EXISTS  = 40
COLUMN_DOESNT_EXIST  = 30
CONSTRAINT_DOESNT_EXIST  = 110
FOREIGNKEY_DOESNT_EXIST  = 100
INDEX_ALREADY_EXISTS  = 60
INDEX_DOESNT_EXIST  = 50
INDEX_INVALID_NAME  = 90
NAMESPACE_ALREADY_EXISTS  = 120
SEQUENCE_ALREADY_EXISTS  = 80
SEQUENCE_DOENST_EXIST  = 70
TABLE_ALREADY_EXISTS  = 20
TABLE_DOESNT_EXIST  = 10

Methods

alterTableChangeNotSupported()  : SchemaException
columnAlreadyExists()  : SchemaException
columnDoesNotExist()  : SchemaException
driverRequired()  : self
foreignKeyDoesNotExist()  : SchemaException
indexAlreadyExists()  : SchemaException
indexDoesNotExist()  : SchemaException
indexNameInvalid()  : SchemaException
invalidDriverClass()  : self
invalidPlatformType()  : self
invalidPlatformVersionSpecified()  : self
Returns a new instance for an invalid specified platform version.
invalidWrapperClass()  : self
namedForeignKeyRequired()  : SchemaException
namespaceAlreadyExists()  : SchemaException
new()  : self
noColumnsSpecifiedForTable()  : self
notSupported()  : self
sequenceAlreadyExists()  : SchemaException
sequenceDoesNotExist()  : SchemaException
tableAlreadyExists()  : SchemaException
tableDoesNotExist()  : SchemaException
typeAlreadyRegistered()  : self
typeExists()  : self
typeNotFound()  : self
typeNotRegistered()  : self
uniqueConstraintDoesNotExist()  : SchemaException
unknownColumnType()  : self
unknownDriver()  : self

Constants

Methods

driverRequired()

public static driverRequired([string|null $url = null ]) : self
Parameters
$url : string|null = null

The URL that was provided in the connection parameters (if any).

Return values
self

invalidDriverClass()

public static invalidDriverClass(string $driverClass) : self
Parameters
$driverClass : string
Return values
self

invalidPlatformType()

public static invalidPlatformType(mixed $invalidPlatform) : self
Parameters
$invalidPlatform : mixed
Return values
self

invalidPlatformVersionSpecified()

Returns a new instance for an invalid specified platform version.

public static invalidPlatformVersionSpecified(string $version, string $expectedFormat) : self
Parameters
$version : string

The invalid platform version given.

$expectedFormat : string

The expected platform version format.

Return values
self

invalidWrapperClass()

public static invalidWrapperClass(string $wrapperClass) : self
Parameters
$wrapperClass : string
Return values
self

new()

public static new(string $namespaceName) : self
Parameters
$namespaceName : string
Return values
self

noColumnsSpecifiedForTable()

public static noColumnsSpecifiedForTable(string $tableName) : self
Parameters
$tableName : string
Return values
self

notSupported()

public static notSupported(string $method) : self
Parameters
$method : string
Return values
self

typeAlreadyRegistered()

public static typeAlreadyRegistered(Type $type) : self
Parameters
$type : Type
Return values
self

typeExists()

public static typeExists(string $name) : self
Parameters
$name : string
Return values
self

typeNotFound()

public static typeNotFound(string $name) : self
Parameters
$name : string
Return values
self

typeNotRegistered()

public static typeNotRegistered(Type $type) : self
Parameters
$type : Type
Return values
self

unknownColumnType()

public static unknownColumnType(string $name) : self
Parameters
$name : string
Return values
self

unknownDriver()

public static unknownDriver(string $unknownDriverName, array<string|int, string> $knownDrivers) : self
Parameters
$unknownDriverName : string
$knownDrivers : array<string|int, string>
Return values
self

        
On this page

Search results