protected getVersion ( ) : string | ||
return | string |
protected function getVersion()
{
if (is_null($this->version)) {
// get the first version in versions
$this->version = reset($this->versions);
}
return $this->version;
}