(string $type)
| 37 | } |
| 38 | |
| 39 | public static function isTypeAllowed(string $type): bool |
| 40 | { |
| 41 | $type = strtolower(trim($type)); |
| 42 | return in_array($type, self::allowedTypes(), true); |
| 43 | } |
| 44 | |
| 45 | public static function capabilityInfo(): array |
| 46 | { |
no test coverage detected