abstract class ColumnMetadata (View source)

Properties

protected string|null $tableName
protected string|null $columnName
protected Type|null $type
protected string|null $columnDefinition
protected mixed[] $options
protected bool $primaryKey
protected bool $nullable
protected bool $unique

Methods

getTableName()

Table name

setTableName(string $tableName)

No description

getColumnName()

No description

setColumnName(string $columnName)

No description

getType()

No description

setType(Type $type)

No description

getTypeName()

No description

getColumnDefinition()

No description

setColumnDefinition(string $columnDefinition)

No description

mixed[]
getOptions()

No description

setOptions(array $options)

No description

setPrimaryKey(bool $isPrimaryKey)

No description

isPrimaryKey()

No description

setNullable(bool $isNullable)

No description

isNullable()

No description

setUnique(bool $isUnique)

No description

isUnique()

No description

Details

getTableName()

Table name

setTableName(string $tableName)

Parameters

string $tableName

getColumnName()

setColumnName(string $columnName)

Parameters

string $columnName

getType()

setType(Type $type)

Parameters

Type $type

getTypeName()

getColumnDefinition()

setColumnDefinition(string $columnDefinition)

Parameters

string $columnDefinition

mixed[] getOptions()

Return Value

mixed[]

setOptions(array $options)

Parameters

array $options

setPrimaryKey(bool $isPrimaryKey)

Parameters

bool $isPrimaryKey

isPrimaryKey()

setNullable(bool $isNullable)

Parameters

bool $isNullable

isNullable()

setUnique(bool $isUnique)

Parameters

bool $isUnique

isUnique()