On this page
AsStringable
class AsStringable 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 |
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
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Database/Eloquent/Casts/AsStringable.html