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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community