CastingContext
Read onlyYes
FinalYes
Tags
Methods
- __construct() : mixed
- value() : T|null
Methods
__construct()
public
__construct(CastingHandler $handler, Type<string|int, T> $type, Caster $caster, Options $options) : mixed
Parameters
- $handler : CastingHandler
- $type : Type<string|int, T>
- $caster : Caster
- $options : Options
value()
public
value(mixed $value) : T|null
Parameters
- $value : mixed