| Total Complexity | 4 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class MacOs extends Untrained |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Trust the given root certificate file in the Keychain. |
||
| 9 | * |
||
| 10 | * @param string $pem |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function trustCA($pem) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Trust the given certificate file in the Mac Keychain. |
||
| 25 | * |
||
| 26 | * @param string $crt |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function trustCertificate($crt) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Return the User's home directory path. |
||
| 41 | * |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function getUserHomePath() |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Flush the host system DNS cache. |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | 1 | public function flushDns() |
|
| 60 |