class AsHtmlString implements Castable

Methods

castUsing(array $arguments)

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

HtmlString|null
get(mixed $model, string $key, mixed $value, array $attributes)

No description

string|null
set(mixed $model, string $key, mixed $value, array $attributes)

No description

Details

at line 18
static CastsAttributes|CastsInboundAttributes|string castUsing(array $arguments)

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

Parameters

array $arguments

Return Value

CastsAttributes|CastsInboundAttributes|string

at line 21
HtmlString|null get(mixed $model, string $key, mixed $value, array $attributes)

No description

Parameters

mixed $model
string $key
mixed $value
array $attributes

Return Value

HtmlString|null

at line 26
string|null set(mixed $model, string $key, mixed $value, array $attributes)

No description

Parameters

mixed $model
string $key
mixed $value
array $attributes

Return Value

string|null