for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Sergey Nehaenko <[email protected]>
* @license GPL
* @copyright Sergey Nehaenko © 2016
* @version 3.0.0
* @project browser-detector
*/
namespace EndorphinStudio\Detector;
class DataWithVersion extends Data
{
* @return string
public function getVersion()
return $this->Version;
}
* @param string $Version
public function setVersion($Version)
$this->Version = $Version;
* @var string Version
protected $Version = D_NA;
* DataWithVersion constructor.
* @param \SimpleXMLElement $xmlData Xml data from file
public function __construct(\SimpleXMLElement $xmlData)
parent::__construct($xmlData);
public static function initEmpty()
return new self(new \SimpleXMLElement('<null>null</null>'));