feature flags and a bit on the design

This commit is contained in:
Doar Mihai
2026-02-15 16:24:47 +02:00
parent 4bc77d455b
commit 5a0e6e4165
22 changed files with 663 additions and 102 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Features;
use Illuminate\Support\Lottery;
use Laravel\Pennant\Attributes\Name;
use Laravel\Pennant\Feature;
#[Name('WaitlistPage')]
class WaitlistPage
{
/**
* Resolve the feature's initial value.
*/
public function resolve(mixed $scope): mixed
{
return Feature::active('WaitlistPage');
}
}