class AsEnumArrayObject implements Castable (View source)

Properties

protected $arguments

Methods

static 
castUsing(array $arguments)

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

__construct(array $arguments)

No description

get($model, $key, $value, $attributes)

No description

set($model, $key, $value, $attributes)

No description

serialize($model, string $key, $value, array $attributes)

No description

getStorableEnumValue($enum)

No description

Details

static castUsing(array $arguments)

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

Parameters

array $arguments

__construct(array $arguments)

No description

Parameters

array $arguments

get($model, $key, $value, $attributes)

No description

Parameters

$model
$key
$value
$attributes

set($model, $key, $value, $attributes)

No description

Parameters

$model
$key
$value
$attributes

serialize($model, string $key, $value, array $attributes)

No description

Parameters

$model
string $key
$value
array $attributes

protected getStorableEnumValue($enum)

No description

Parameters

$enum