vandyczech
1 year ago
119
2
Laravel

Laravel collection save() not works .... how do that?

Posted 1 year ago by vandyczech
$message = Box::find($request->message_id);
$message = collect($message);
$message->put('reactions', serialize($react));

But how the model save? save() not working on collectio ....

Please sign in or create an account to participate in this conversation.