There's great value in understanding how object state of Models works. This is mostly relevant in (Feature) tests because they touch many parts of your codebase in one PHP/Laravel App state
- ·
- Telegram
- ·
- Newsletter
For example, use $model->is($anotherModel) to check if they refer to the same row.