class ColumnDiff
Value object for storing Column object diffs.
Heavily inspired by Doctrine2's Migrations
(see http://github.com/doctrine/dbal/tree/master/lib/Doctrine/DBAL/Schema/)
Methods
__construct() | ||
setChangedProperties(array $properties)
Sets for the changed properties. |
||
array |
getChangedProperties()
Returns the changed properties. |
|
setFromColumn(Column $fromColumn)
Sets the fromColumn property. |
||
Column |
getFromColumn()
Returns the fromColumn property. |
|
setToColumn(Column $toColumn)
Sets the toColumn property. |
||
Column |
getToColumn()
Returns the toColumn property. |
|
ColumnDiff |
getReverseDiff()
Returns the reverse diff for this diff. |
|
__toString() |
Details
at line 26
public
__construct()
at line 36
public
setChangedProperties(array $properties)
Sets for the changed properties.
at line 46
public array
getChangedProperties()
Returns the changed properties.
at line 56
public
setFromColumn(Column $fromColumn)
Sets the fromColumn property.
at line 66
public Column
getFromColumn()
Returns the fromColumn property.
at line 76
public
setToColumn(Column $toColumn)
Sets the toColumn property.
at line 86
public Column
getToColumn()
Returns the toColumn property.
at line 96
public ColumnDiff
getReverseDiff()
Returns the reverse diff for this diff.