src/Cornford/Backup/BackupFilesystem.php
public function getOperatingSystem()
	{
		switch (true) {
			case stristr(PHP_OS, 'DAR'):
				return self::OS_OSX;
			case stristr(PHP_OS, 'WIN'):
				return self::OS_WIN;
			case stristr(PHP_OS, 'LINUX'):
				return self::OS_LINUX;
			default:
				return self::OS_UNKNOWN;
		}
	}
public function getOperatingSystem()
	{
		switch (true) {
			case stristr(PHP_OS, 'DAR'):
				return self::OS_OSX;
			case stristr(PHP_OS, 'WIN'):
				return self::OS_WIN;
			case stristr(PHP_OS, 'LINUX'):
				return self::OS_LINUX;
			default:
				return self::OS_UNKNOWN;
		}
	}
public function getOperatingSystem ( ) { switch ( true ) { case stristr ( PHP_OS , 'DAR' ) : return self :: OS_OSX ; case stristr ( PHP_OS , 'WIN' ) : return self :: OS_WIN ; case stristr ( PHP_OS , 'LINUX' ) : return self :: OS_LINUX ; default : return self :: OS_UNKNOWN ; } }
Get the operating system.

@return integer
Get the operating system .