We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d2cfae commit f04003eCopy full SHA for f04003e
pennant.md
@@ -364,14 +364,18 @@ $user->features()->unless('new-api',
364
<a name="blade-directive"></a>
365
### Blade Directive
366
367
-To make checking features in Blade a seamless experience, Pennant offers a `@feature` directive:
+To make checking features in Blade a seamless experience, Pennant offers the `@feature` and `@featureany` directive:
368
369
```blade
370
@feature('site-redesign')
371
<!-- 'site-redesign' is active -->
372
@else
373
<!-- 'site-redesign' is inactive -->
374
@endfeature
375
+
376
+@featureany(['site-redesign', 'beta'])
377
+ <!-- 'site-redesign' or `beta` is active -->
378
+@endfeatureany
379
```
380
381
<a name="middleware"></a>
0 commit comments