class SchemaConfig (View source)

Configuration for a Schema.

Properties

protected boolean $hasExplicitForeignKeyIndexes
protected integer $maxIdentifierLength
protected string $name
protected array $defaultTableOptions

Methods

boolean
hasExplicitForeignKeyIndexes()

No description

void
setExplicitForeignKeyIndexes(boolean $flag)

No description

void
setMaxIdentifierLength(integer $length)

No description

integer
getMaxIdentifierLength()

No description

string
getName()

Gets the default namespace of schema objects.

void
setName(string $name)

Sets the default namespace name of schema objects.

array
getDefaultTableOptions()

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

void
setDefaultTableOptions(array $defaultTableOptions)

No description

Details

boolean hasExplicitForeignKeyIndexes()

Return Value

boolean

void setExplicitForeignKeyIndexes(boolean $flag)

Parameters

boolean $flag

Return Value

void

void setMaxIdentifierLength(integer $length)

Parameters

integer $length

Return Value

void

integer getMaxIdentifierLength()

Return Value

integer

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

array getDefaultTableOptions()

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

Return Value

array

void setDefaultTableOptions(array $defaultTableOptions)

Parameters

array $defaultTableOptions

Return Value

void