BlueprintState
class BlueprintState (View source)
Properties
protected Blueprint | $blueprint | The blueprint instance. |
|
protected Connection | $connection | The connection instance. |
|
protected Grammar | $grammar | The grammar instance. |
Methods
void
__construct(Blueprint $blueprint, Connection $connection, Grammar $grammar)
Create a new blueprint state instance.
IndexDefinition|null
getPrimaryKey()
Get the primary key.
getColumns()
Get the columns.
getIndexes()
Get the indexes.
getForeignKeys()
Get the foreign keys.
Details
void
__construct(Blueprint $blueprint, Connection $connection, Grammar $grammar)
Create a new blueprint state instance.
IndexDefinition|null
getPrimaryKey()
Get the primary key.
ColumnDefinition[]
getColumns()
Get the columns.
IndexDefinition[]
getIndexes()
Get the indexes.
ForeignKeyDefinition[]
getForeignKeys()
Get the foreign keys.
update(Fluent $command)
No description