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

Posted 1 month 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.

Reply to

Use Markdown with GitHub-flavored code blocks.