We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223ac2a commit 3bc96e8Copy full SHA for 3bc96e8
README.md
@@ -109,7 +109,9 @@ $theme = service('setting')->get('App.theme', $context);
109
setting()->get('App.theme', $context);
110
```
111
112
-If that context is not found the library falls back to the general value, i.e. `service('setting')->get('App.theme')`
+Contexts are a cascading check, so if a context does not match a value it will fall back on general,
113
+i.e. `service('setting')->get('App.theme')`. Return value priority is as follows:
114
+"Setting with a context > Setting without context > Config value > null".
115
116
### Using the Helper
117
0 commit comments