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

And what's the value of config('enums.chat_log_type') ?

Are you sure it contains the returned result of byChatType column?

Try to dump both the $this->attributes['byChatType'] and config('enums.chat_log_type') to make sure everything is as intended

0

Sign in to participate in this thread!

Eventy

Your banner here too?

aesteris aesteris Joined 22 Mar 2016

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.