Support the ongoing development of Laravel.io →
Eloquent Views
Last updated 2 years ago.
0

The reason why of this behevior will be clearer If you take a look at how getAttribute is implemented here https://github.com/illuminate/database/blob/4.2/Eloquent/Model.php

I'm not sure, but maybe you should override that class.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

lazos99 lazos99 Joined 11 Jun 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.