Method |
Description |
|
__construct ( $name, $defaults, $associations = [], Phactory $phactory = null ) |
|
|
addAssociation ( $name, $association ) |
|
|
addDefault ( $column, $value ) |
|
|
build ( $overrides = [], $associated = [] ) |
*
Build a Row from this Blueprint. Optionally use an array
of associated objects to set fk columns. |
|
create ( $overrides = [], $associated = [] ) |
*
Reify a Blueprint as a Row. Optionally use an array
of associated objects to set fk columns. |
|
recall ( ) |
*
Truncate table in the database. |
|
removeAssociation ( $name ) |
|
|
removeDefault ( $column ) |
|
|
setAssociations ( $associations ) |
|
|
setDefaults ( $defaults ) |
|
|