BlueprintState
class BlueprintState
Properties
| protected Blueprint | $blueprint | The blueprint instance. |
|
| protected Connection | $connection | The connection instance. |
Methods
Fluent|IndexDefinition|null
getPrimaryKey()
Get the primary key.
array
getColumns()
Get the columns.
array
getIndexes()
Get the indexes.
array
getForeignKeys()
Get the foreign keys.
Details
at line 54
__construct(Blueprint $blueprint, Connection $connection)
Create a new blueprint state instance.
at line 104
Fluent|IndexDefinition|null
getPrimaryKey()
Get the primary key.
at line 114
array
getColumns()
Get the columns.
at line 124
array
getIndexes()
Get the indexes.
at line 134
array
getForeignKeys()
Get the foreign keys.
at line 142
void
update(Fluent $command)
Update the blueprint's state.