FeatureFlag.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\BetaFeatures\Facades; |
| 4 | |
| 5 | use Give\BetaFeatures\Repositories\FeatureFlagRepository; |
| 6 | use Give\Framework\Support\Facades\Facade; |
| 7 | |
| 8 | /** |
| 9 | * @since 3.6.0 |
| 10 | * |
| 11 | * @method static void resetNotificationCount() |
| 12 | * @method static int getNotificationCount() |
| 13 | * @method static bool eventTickets() |
| 14 | * @method static bool enabled(string $feature) |
| 15 | */ |
| 16 | class FeatureFlag extends Facade |
| 17 | { |
| 18 | /** |
| 19 | * @since 3.6.0 |
| 20 | */ |
| 21 | protected function getFacadeAccessor(): string |
| 22 | { |
| 23 | return FeatureFlagRepository::class; |
| 24 | } |
| 25 | } |
| 26 |