class TableMetadata (View source)

Properties

protected string|null $schema
protected string|null $name
protected mixed[] $options
protected mixed[][] $indexes
protected mixed[][] $uniqueConstraints

Methods

__construct(string|null $name = null, string|null $schema = null)

No description

getSchema()

No description

setSchema(string $schema)

No description

setName(string $name)

No description

getName()

No description

getQuotedQualifiedName(AbstractPlatform $platform)

No description

mixed[]
getOptions()

No description

setOptions(array $options)

No description

mixed
getOption(string $name)

No description

hasOption(string $name)

No description

addOption(string $name, $value)

No description

mixed[][]
getIndexes()

No description

mixed[]
getIndex(string $name)

No description

hasIndex(string $name)

No description

addIndex(array $index)

No description

mixed[][]
getUniqueConstraints()

No description

mixed[]
getUniqueConstraint(string $name)

No description

hasUniqueConstraint(string $name)

No description

addUniqueConstraint(array $constraint)

No description

Details

__construct(string|null $name = null, string|null $schema = null)

Parameters

string|null $name
string|null $schema

getSchema()

setSchema(string $schema)

Parameters

string $schema

setName(string $name)

Parameters

string $name

getName()

getQuotedQualifiedName(AbstractPlatform $platform)

Parameters

AbstractPlatform $platform

mixed[] getOptions()

Return Value

mixed[]

setOptions(array $options)

Parameters

array $options

mixed getOption(string $name)

Parameters

string $name

Return Value

mixed

hasOption(string $name)

Parameters

string $name

addOption(string $name, $value)

Parameters

string $name
$value

mixed[][] getIndexes()

Return Value

mixed[][]

mixed[] getIndex(string $name)

Parameters

string $name

Return Value

mixed[]

hasIndex(string $name)

Parameters

string $name

addIndex(array $index)

Parameters

array $index

mixed[][] getUniqueConstraints()

Return Value

mixed[][]

mixed[] getUniqueConstraint(string $name)

Parameters

string $name

Return Value

mixed[]

hasUniqueConstraint(string $name)

Parameters

string $name

addUniqueConstraint(array $constraint)

Parameters

array $constraint