| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class PrivateKey extends AbstractKey |
||
| 21 | { |
||
| 22 | 21 | public function __construct( |
|
| 23 | string $file, |
||
| 24 | private readonly string $password |
||
| 25 | ) { |
||
| 26 | 21 | parent::__construct($file); |
|
| 27 | } |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws SignerException |
||
| 32 | */ |
||
| 33 | 11 | protected function createKey(): OpenSSLAsymmetricKey |
|
| 44 | } |
||
| 45 | } |
||
| 46 |