| 1 | <?php |
||
| 24 | class Options implements IOptions { |
||
| 25 | /** @var int */ |
||
| 26 | private $timeout = 20; |
||
| 27 | |||
| 28 | 980 | /** @var string|null */ |
|
| 29 | 980 | private $minProtocol; |
|
| 30 | /** @var string|null */ |
||
| 31 | private $maxProtocol; |
||
| 32 | |||
| 33 | public function getTimeout(): int { |
||
| 36 | |||
| 37 | public function setTimeout(int $timeout): void { |
||
| 40 | |||
| 41 | public function getMinProtocol(): ?string { |
||
| 44 | |||
| 45 | public function setMinProtocol(?string $minProtocol): void { |
||
| 48 | |||
| 49 | public function getMaxProtocol(): ?string { |
||
| 52 | |||
| 53 | public function setMaxProtocol(?string $maxProtocol): void { |
||
| 56 | } |
||
| 57 |