class WithCastAndTransformer implements GetsCast

Properties

list<mixed> $arguments

Methods

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

Create a new cast and transformer attribute.

get()

Get the configured cast and transformer.

Details

at line 24
__construct(string $class, mixed ...$arguments)

Create a new cast and transformer attribute.

Parameters

string $class
mixed ...$arguments

at line 42
Cast get()

Get the configured cast and transformer.

Return Value

Cast