interface Castable (View source)

Methods

static CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes
castUsing(array $arguments)

Get the name of the caster class to use when casting from / to this cast target.

Details

static CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes castUsing(array $arguments)

Get the name of the caster class to use when casting from / to this cast target.

Parameters

array $arguments

Return Value

CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes