AsEnumArrayObject
class AsEnumArrayObject implements Castable
Methods
static string
of(string $class)
Get the caster class to use when casting from / to this cast target.
static CastInputs|string
castUsing(array $arguments = [])
Get the caster class to use when casting from / to this cast target.
__construct(array $arguments)
No description
mixed
get(string $key, mixed $value, array $inputs)
No description
Details
at line 20
static string
of(string $class)
Get the caster class to use when casting from / to this cast target.
at line 28
static CastInputs|string
castUsing(array $arguments = [])
Get the caster class to use when casting from / to this cast target.
at line 31
__construct(array $arguments)
No description
at line 35
mixed
get(string $key, mixed $value, array $inputs)
No description