File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ public function get(string|BackedEnum $key, $default = null)
53
53
public function all($keys = null): \Illuminate\Support\Collection
54
54
```
55
55
56
+ > {note} The ` DotNotationContextSerializer ` context serializer must be used for this to work properly.
57
+
56
58
### has
57
59
58
60
``` php
@@ -119,6 +121,44 @@ public function isTrue(string|BackedEnum $key, $default = true): bool
119
121
public function flush($keys = null): void
120
122
```
121
123
124
+ ### getTeamId
125
+
126
+ ``` php
127
+ /**
128
+ * Retrieve the current team id for settings.
129
+ */
130
+ public function getTeamId(): mixed;
131
+ ```
132
+
133
+ ### setTeamId
134
+
135
+ ``` php
136
+ /**
137
+ * Set the current team id for teams/groups support.
138
+ *
139
+ * @param Model|int|null|string $id
140
+ */
141
+ public function setTeamId(mixed $id): Settings;
142
+ ```
143
+
144
+ ### usingTeam
145
+
146
+ ``` php
147
+ /**
148
+ * Use a team for a single call.
149
+ */
150
+ public function usingTeam(mixed $teamId): Settings;
151
+ ```
152
+
153
+ ### withoutTeams
154
+
155
+ ``` php
156
+ /**
157
+ * Perform a single settings call without a team context.
158
+ */
159
+ public function withoutTeams(): Settings;
160
+ ```
161
+
122
162
### cacheKeyForSetting
123
163
124
164
``` php
You can’t perform that action at this time.
0 commit comments