class AsDataObjectCollection 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 19
static string of(string $class)

Get the caster class to use when casting from / to this cast target.

Parameters

string $class

The data object class name

Return Value

string

at line 27
static CastInputs|string castUsing(array $arguments = [])

Get the caster class to use when casting from / to this cast target.

Parameters

array $arguments

Return Value

CastInputs|string

at line 30
__construct(array $arguments)

No description

Parameters

array $arguments

at line 34
mixed get(string $key, mixed $value, array $inputs)

No description

Parameters

string $key
mixed $value
array $inputs

Return Value

mixed