errorcode418/php
0
1<?php2/**3 * ua-parser4 *5 * Copyright (c) 2011-2013 Dave Olsen, http://dmolsen.com6 * Copyright (c) 2013-2014 Lars Strojny, http://usrportage.de7 *8 * Released under the MIT license9 */10namespace UAParser\Result;11 12class OperatingSystem extends AbstractVersionedSoftware13{14 /** @var string */15 public $major;16 17 /** @var string */18 public $minor;19 20 /** @var string */21 public $patch;22 23 /** @var string */24 public $patchMinor;25 26 public function toVersion()27 {28 return $this->formatVersion($this->major, $this->minor, $this->patch, $this->patchMinor);29 }30}31 