WithCastAndTransformer
class WithCastAndTransformer implements GetsCast
Properties
| list<mixed> | $arguments |
Methods
__construct(string $class, mixed ...$arguments)
Create a new cast and transformer attribute.
Details
at line 24
__construct(string $class, mixed ...$arguments)
Create a new cast and transformer attribute.
at line 42
Cast
get()
Get the configured cast and transformer.