Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
4 | trait OpenSSLPropertyTrait |
||
5 | { |
||
6 | /** |
||
7 | * Variable to store the instance of OpenSSL |
||
8 | * You must set this property on the constructor of the class that uses this property, |
||
9 | * otherwise getOpenSSL will fail |
||
10 | * |
||
11 | * To get this property is recommended to use getOpenSSL |
||
12 | * To set this property is recommended to use setOpenSSL |
||
13 | * |
||
14 | * @var OpenSSL |
||
15 | * @internal |
||
16 | */ |
||
17 | private $openSSL; |
||
18 | |||
19 | 77 | public function getOpenSSL(): OpenSSL |
|
22 | } |
||
23 | |||
24 | 76 | protected function setOpenSSL(OpenSSL $openSSL) |
|
29 |