| 1 | <?php |
||
| 20 | class OSHelper { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Determines if the operating system is Linux. |
||
| 24 | * |
||
| 25 | * @return Returns true in case of success, false otherwise. |
||
| 26 | */ |
||
| 27 | public static function isLinux() { |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Determines if the operating system is Windows. |
||
| 33 | * |
||
| 34 | * @return Returns true in case of success, false otherwise. |
||
| 35 | */ |
||
| 36 | public static function isWindows() { |
||
| 39 | |||
| 40 | } |
||
| 41 |