Method |
Description |
|
__construct ( null | string $attribute = null, null | integer $type = null, array $values = [] ) |
Constructor. |
|
build ( ) : BatchModification |
Builds the type of modification automatically
based on the current and original values. |
|
get ( ) : array | null |
Returns the built batch modification array. |
|
getAttribute ( ) : string |
Returns the attribute of the modification. |
|
getOriginal ( ) : mixed |
Returns the original value of the attribute before modification. |
|
getType ( ) : integer |
Returns the type of the modification. |
|
getValues ( ) : array |
Returns the values of the modification. |
|
setAttribute ( string $attribute ) : BatchModification |
Sets the attribute of the modification. |
|
setOriginal ( null $original = null ) |
Sets the original value of the attribute before modification. |
|
setType ( integer $type ) : BatchModification |
Sets the type of the modification. |
|
setValues ( array $values = [] ) : BatchModification |
Sets the values of the modification. |
|