| Total Complexity | 6 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Coverage | 23.81% |
| 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 | * @return void |
||
| 12 | */ |
||
| 13 | public function trustCA($pem) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Trust the given certificate file in the Mac Keychain. |
||
| 29 | * |
||
| 30 | * @param string $crt |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function trustCertificate($crt) |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Return the User's home directory path |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | 1 | public function getUserHomePath() |
|
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Flush the host system DNS cache |
||
| 59 | * |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | 1 | public function flushDns() |
|
| 68 |