Skip to content

Commit b93f85f

Browse files
committed
Updated method name from 'pull' to 'take' in basic-usage.md documentation
1 parent 8b2d904 commit b93f85f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basic-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ If you ever need to completely remove all settings from their persistent storage
4343
service('settings')->flush();
4444
```
4545

46-
Also, you can use the `pull()` method to retrieve a setting and then remove it from the persistent storage in one go. This is useful when you want to retrieve a value and ensure it is no longer available for future use.
46+
Also, you can use the `take()` method to retrieve a setting and then remove it from the persistent storage in one go. This is useful when you want to retrieve a value and ensure it is no longer available for future use.
4747

4848
```php
49-
$siteName = service('settings')->pull('App.siteName');
49+
$siteName = service('settings')->take('App.siteName');
5050
```
5151

5252
### Contextual Settings

0 commit comments

Comments
 (0)