TypecastTrait
Update trait for typecasting values.
This will convert between scalar types and apply any Cast attributes.
Table of Contents
Properties
Methods
- getTypecast() : Typecast
- The typecast instance for this class type.
- update() : void
Properties
$__typecast__
private
Typecast
$__typecast__
Methods
getTypecast()
The typecast instance for this class type.
public
getTypecast() : Typecast
Return values
Typecastupdate()
public
update(iterable<string|int, mixed> $config) : void
Parameters
- $config : iterable<string|int, mixed>