Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class FeatureFlagService |
||
8 | { |
||
9 | /** @var ProviderInterface */ |
||
10 | private $provider; |
||
11 | |||
12 | public function __construct(ProviderInterface $provider) |
||
15 | } |
||
16 | |||
17 | public function isEnabled(string $key, $identifier = null): bool |
||
20 | } |
||
21 | |||
22 | public function getProvider(): ProviderInterface |
||
25 | } |
||
26 | } |