AlterIntPropertyTrait
Table of Contents
Methods
- alterIntProperty() : array<string|int, mixed>|float
- Cast a value to integer.
Methods
alterIntProperty()
Cast a value to integer.
public
alterIntProperty(mixed $value[, bool &$modified = false ]) : array<string|int, mixed>|float
If the value is an array, all elements in the array are casted.
Property::PRICE => [ Alter::INT ] ,
Parameters
- $value : mixed
- $modified : bool = false