FeatureFlags
in package
Table of Contents
Methods
- IsEnabled() : bool
- Checks if a feature flag is enabled.
- ListEnabled() : array<string|int, mixed>
- Check the full list of enabled flags.
Methods
IsEnabled()
Checks if a feature flag is enabled.
public
static IsEnabled(string $flag) : bool
Parameters
- $flag : string
-
Name of the flag to check.
Return values
bool —Whether it is enabled or not.
ListEnabled()
Check the full list of enabled flags.
public
static ListEnabled() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of enabled flags.