WithCastable
class WithCastable implements GetsCast
Properties
| list<mixed> | $arguments |
Methods
__construct(string $castableClass, mixed ...$arguments)
Create a new castable attribute.
Details
at line 23
__construct(string $castableClass, mixed ...$arguments)
Create a new castable attribute.
at line 37
Cast
get()
Get the configured cast.