private static function getPlatform() { if (defined('PHP_WINDOWS_VERSION_MAJOR')) { return self::OS_WINDOWS; } return self::OS_UNIX; }