DEV Community

Cover image for What's new in Laravel 9? 🤔
Tanmoy Barua
Tanmoy Barua

Posted on

What's new in Laravel 9? 🤔

Top comments (1)

Collapse
 
tanmoybarua profile image
Tanmoy Barua

In Laravel 9, you can now use the Illuminate\Database\Eloquent\Casts\Attribute to declare a model prefix with a single non-prefixed term. Using one method call, you can now both get and set attributes.