mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Fixed text encoding issue
This commit is contained in:
parent
4f2b5dc999
commit
13c241a68d
1 changed files with 2 additions and 2 deletions
|
|
@ -9,6 +9,6 @@ created_at: 2020-09-21T16:42:13+00:00
|
||||||
slug: when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it
|
slug: when-a-relationship-is-already-loaded-and-cached-on-the-model-instance-youll-have-to-refresh-it
|
||||||
---
|
---
|
||||||
|
|
||||||
`$domain->refresh();` to refresh its attributes
|
`$domain->refresh();` to refresh its attributes
|
||||||
|
|
||||||
`$tenant->load('primary_domain');` to update the `primary_domain` relationship on the $tenant instance
|
`$tenant->load('primary_domain');` to update the `primary_domain` relationship on the $tenant instance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue