class AsStringable implements Castable (View source)

Methods

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

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

get($model, $key, $value, $attributes)

No description

set($model, $key, $value, $attributes)

No description

Details

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

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

Parameters

array $arguments

Return Value

CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes

get($model, $key, $value, $attributes)

No description

Parameters

$model
$key
$value
$attributes

set($model, $key, $value, $attributes)

No description

Parameters

$model
$key
$value
$attributes

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.