WithCast
class WithCast implements GetsCast
Properties
| list<mixed> | $arguments |
Methods
__construct(string $castClass, mixed ...$arguments)
Create a new cast attribute.
Details
at line 22
__construct(string $castClass, mixed ...$arguments)
Create a new cast attribute.
at line 36
Cast
get()
Get the configured cast.