Laravel 9 $model->replicate() is not immutable

17 Views Asked by At

it seems Laravel 9 $model->replicate() does not create immutable instance. Am I right or not? Cause if I make changes on original model it changes also the replica instance. How to make an immutbale clone from Laravel model?

0

There are 0 best solutions below