You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This event is dispatched the first time a known feature is retrieved during a request for a specific scope. This event can be useful to create and track metrics against the feature flags that are being used throughout your application.
666
+
This event is dispatched whenever a feature is retrieved and can be useful for creating and tracking metrics against a feature flag's usage throughout your application.
This event is dispatched the first time an unknown feature is retrieved during a request for a specific scope. This event can be useful if you have intended to remove a feature flag, but may have accidentally left some stray references to it throughout your application.
670
+
This event is dispatched the first time a feature's value is resolved for a specific scope from it's definition or feature class resolver.
This event is dispatched the first time an unknown feature is resolved for a specific scope. This event can be useful if you have intended to remove a feature flag, but may have accidentally left some stray references to it throughout your application.
671
675
672
676
For example, you may find it useful to listen for this event and `report` or throw an exception when it occurs:
673
677
@@ -678,7 +682,7 @@ namespace App\Providers;
678
682
679
683
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
680
684
use Illuminate\Support\Facades\Event;
681
-
use Laravel\Pennant\Events\RetrievingUnknownFeature;
685
+
use Laravel\Pennant\Events\UnknownFeatureResolved;
682
686
683
687
class EventServiceProvider extends ServiceProvider
684
688
{
@@ -687,13 +691,13 @@ class EventServiceProvider extends ServiceProvider
0 commit comments