class SchemaConfig (View source)

Configuration for a Schema

Properties

protected bool $hasExplicitForeignKeyIndexes
protected int $maxIdentifierLength
protected string $name
protected array $defaultTableOptions

Methods

bool
hasExplicitForeignKeyIndexes()

No description

setExplicitForeignKeyIndexes(bool $flag)

No description

setMaxIdentifierLength(int $length)

No description

int
getMaxIdentifierLength()

No description

string
getName()

Get default namespace of schema objects.

setName(string $name)

set default namespace name of schema objects.

array
getDefaultTableOptions()

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

setDefaultTableOptions(array $defaultTableOptions)

No description

Details

bool hasExplicitForeignKeyIndexes()

Return Value

bool

setExplicitForeignKeyIndexes(bool $flag)

Parameters

bool $flag

setMaxIdentifierLength(int $length)

Parameters

int $length

int getMaxIdentifierLength()

Return Value

int

string getName()

Get default namespace of schema objects.

Return Value

string

setName(string $name)

set default namespace name of schema objects.

Parameters

string $name the value to set.

array getDefaultTableOptions()

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

Return Value

array

setDefaultTableOptions(array $defaultTableOptions)

Parameters

array $defaultTableOptions