| Total Complexity | 5 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class ProtocolLevel { |
||
| 28 | /** @var string */ |
||
| 29 | private $level; |
||
| 30 | |||
| 31 | private function __construct(string $level) { |
||
| 32 | $this->level = $level; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getLevel(): string { |
||
| 36 | return $this->level; |
||
| 37 | } |
||
| 38 | |||
| 39 | public static function NT1(): self { |
||
| 41 | } |
||
| 42 | |||
| 43 | public static function SMB2(): self { |
||
| 44 | return new ProtocolLevel("SMB2"); |
||
| 45 | } |
||
| 46 | |||
| 47 | public static function SMB3(): self { |
||
| 49 | } |
||
| 50 | } |