| Total Complexity | 5 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class AllowedServiceProviders |
||
| 24 | { |
||
| 25 | /** @var array */ |
||
| 26 | private $allowed; |
||
| 27 | |||
| 28 | public function __construct(array $allowed) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function isConfigured(string $spEntityId): bool |
||
| 39 | { |
||
| 40 | return in_array($spEntityId, $this->allowed, true); |
||
| 41 | } |
||
| 42 | |||
| 43 | public function __toString(): string |
||
| 46 | } |
||
| 47 | } |
||
| 48 |