Transform the attribute from the underlying model value and return it.
the value to return
receives a clone of the raw attributes
Transform the attribute to its underlying model values and return it.
the value to set
receives a clone of the raw attributes
Generated using TypeDoc
Interface describes what's expected to be implemented by a class that is tasked with value casting.
See
CastsAttributes.prototype.implementsCaster