| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 40% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Windows extends Untrained |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Return the User's home directory path. |
||
| 9 | * |
||
| 10 | * @return string |
||
| 11 | */ |
||
| 12 | 1 | public function getUserHomePath() |
|
| 13 | { |
||
| 14 | 1 | return $this->serverBag->get('HOME') ?? $this->serverBag->get('HOMEDRIVE').$this->serverBag->get('HOMEPATH'); |
|
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Flush the host system DNS cache. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function flushDns() |
||
| 26 | } |
||
| 27 | } |
||
| 28 |