class WithCast implements GetsCast

Properties

list<mixed> $arguments

Methods

__construct(string $castClass, mixed ...$arguments)

Create a new cast attribute.

get()

Get the configured cast.

Details

at line 22
__construct(string $castClass, mixed ...$arguments)

Create a new cast attribute.

Parameters

string $castClass
mixed ...$arguments

at line 36
Cast get()

Get the configured cast.

Return Value

Cast