On this page
AsEnumCollection
class AsEnumCollection 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.
__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
protected getStorableEnumValue($enum)
No description
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Database/Eloquent/Casts/AsEnumCollection.html