File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ ROLLOUT_TABLE=rollout
4848### Implementing Interfaces
4949
5050##### User
51+
5152Your rollout users must implement the ` \Jaspaul\LaravelRollout\Contracts\User ` interface. Often this will be your main user object:
5253
5354``` php
@@ -68,6 +69,7 @@ class User implements Contract
6869```
6970
7071#### Group
72+
7173Your rollout groups must implement the ` \Jaspaul\LaravelRollout\Contracts\Group ` interface.
7274
7375``` php
@@ -106,6 +108,7 @@ class BetaUsersGroup implements Group
106108and you should update your local ` laravel-rollout.php ` configuration to include the group in the groups array:
107109
108110` laravel-rollout.php `
111+
109112``` php
110113return [
111114 ...
@@ -140,7 +143,7 @@ Swap `{feature}` with the name of the feature you'd like to create a feature fla
140143
141144` php artisan rollout:deactivate {feature} `
142145
143- Swap ` {feature} ` with the name of the feature you'd like to deactivate globally. Note this will also reset the user whitelist .
146+ Swap ` {feature} ` with the name of the feature you'd like to deactivate globally. Note this will also reset the user allowlist .
144147
145148### Delete
146149
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class FeaturePresenter
1515 'all ' => 'Active for everyone. ' ,
1616 'request_param ' => 'Active with a request parameter. ' ,
1717 'percentage ' => 'Active via percentage rollout. ' ,
18- 'whitelist ' => 'Active via group or user whitelist . ' ,
18+ 'allowlist ' => 'Active via group or user allowlist . ' ,
1919 'disabled ' => 'Deactivated globally. '
2020 ];
2121
@@ -69,7 +69,7 @@ public function getDisplayStatus() : string
6969 }
7070
7171 if (count ($ this ->feature ->getGroups ()) > 0 || count ($ this ->feature ->getUsers ()) > 0 ) {
72- return self ::$ statuses ['whitelist ' ];
72+ return self ::$ statuses ['allowlist ' ];
7373 }
7474
7575 return self ::$ statuses ['disabled ' ];
You can’t perform that action at this time.
0 commit comments