Laravel - Mutators / Casts - Stringable Casting

You may use the Illuminate\Database\Eloquent\Casts\AsStringable cast class to cast a model attribute to a fluent Illuminate\Support\Stringable object:

    
     AsStringable::class,
        ];
    }