Skip to content

Commit 7aa0318

Browse files
committed
readme updated
1 parent 8e06da4 commit 7aa0318

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ If your app needs different url to access the settings page you can change from
141141

142142
### Use Group Setting
143143

144-
Many time you want to store settings in a group. With version `1.1` you can define a group name from your `config/app_settings.php`. You have a closer to return the name of group as string
144+
Many time you want to store settings in a group. With version `1.1` you can define a group name from your `config/app_settings.php`. You have a closer or a class namespace to return the name of group as string
145145

146146
```php
147147
return [
@@ -156,7 +156,9 @@ return [
156156
}
157157
```
158158

159-
In this case you can have different settings for each user.
159+
In this case you can have different settings for each user.
160+
161+
🔥 You can also set settings group at runtime using `app('app-settings')->setStorageGroup('my-storage-group')`.
160162

161163
### Use without UI
162164

0 commit comments

Comments
 (0)