On this page
AsArrayObject
class AsArrayObject implements Castable (View source)
Methods
static | castUsing(array $arguments) Get the caster class to use when casting from / to this cast target. |
|
get($model, $key, $value, $attributes) No description |
||
set($model, $key, $value, $attributes) No description |
||
serialize($model, string $key, $value, array $attributes) No description |
Details
static castUsing(array $arguments)
Get the caster class to use when casting from / to this cast target.
get($model, $key, $value, $attributes)
No description
set($model, $key, $value, $attributes)
No description
serialize($model, string $key, $value, array $attributes)
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/AsArrayObject.html