function setVersion($version) { $this->version = Tiki_Version_Version::get($version); }
function __construct($old, $new, $isRequired) { $this->old = Tiki_Version_Version::get($old); $this->new = Tiki_Version_Version::get($new); $this->isRequired = $isRequired; }
/** * @dataProvider versions */ function testParseVersions($string, $version) { $this->assertEquals($version, Tiki_Version_Version::get($string)); }