We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14458e0 commit 957c782Copy full SHA for 957c782
readme.md
@@ -89,10 +89,10 @@ $user->addresses;
89
$user->addresses();
90
91
// Scope Primary Addresses
92
-$primaryAddresses = app('addressable.address')->isPrimary()->get();
+$primaryAddresses = Bkfdev\Addressable\Models\Address::isPrimary()->get();
93
94
// Scope Addresses in the given country
95
-$algerianAddresses = app('addressable.address')->inCountry('dz')->get();
+$algerianAddresses = Bkfdev\Addressable\Models\Address::inCountry('dz')->get();
96
97
```
98
0 commit comments