1: <?php
2: namespace Peridot\WebDriverManager\OS;
3:
4: /**
5: * SystemInterface determines information about the operating system.
6: *
7: * @package Peridot\WebDriverManager\OS
8: */
9: interface SystemInterface
10: {
11: /**
12: * Is the system a mac operating system?
13: *
14: * @return bool
15: */
16: public function isMac();
17:
18: /**
19: * Is the system a windows operating system?
20: *
21: * @return bool
22: */
23: public function isWindows();
24:
25: /**
26: * Is the system a linux system? Assumes that if the OS is not windows, and is
27: * not mac, then it is linux.
28: *
29: * @return bool
30: */
31: public function isLinux();
32:
33: /**
34: * Return whether or not the OS is a 64 bit operating system.
35: *
36: * @return bool
37: */
38: public function is64Bit();
39: }
40: