class SchemaConfig (View source)

Configuration for a Schema.

Properties

protected bool $hasExplicitForeignKeyIndexes
protected int $maxIdentifierLength
protected string $name
protected mixed[] $defaultTableOptions

Methods

bool
hasExplicitForeignKeyIndexes()

No description

void
setExplicitForeignKeyIndexes(bool $flag)

No description

void
setMaxIdentifierLength(int $length)

No description

int
getMaxIdentifierLength()

No description

string
getName()

Gets the default namespace of schema objects.

void
setName(string $name)

Sets the default namespace name of schema objects.

mixed[]
getDefaultTableOptions()

Gets the default options that are passed to Table instances created with Schema#createTable().

void
setDefaultTableOptions(array $defaultTableOptions)

No description

Details

bool hasExplicitForeignKeyIndexes()

Return Value

bool

void setExplicitForeignKeyIndexes(bool $flag)

Parameters

bool $flag

Return Value

void

void setMaxIdentifierLength(int $length)

Parameters

int $length

Return Value

void

int getMaxIdentifierLength()

Return Value

int

string getName()

Gets the default namespace of schema objects.

Return Value

string

void setName(string $name)

Sets the default namespace name of schema objects.

Parameters

string $name The value to set.

Return Value

void

mixed[] getDefaultTableOptions()

Gets the default options that are passed to Table instances created with Schema#createTable().

Return Value

mixed[]

void setDefaultTableOptions(array $defaultTableOptions)

Parameters

array $defaultTableOptions

Return Value

void