Sslurp\AbstractCaRootData::getVersion PHP Метод

getVersion() публичный Метод

Get the version number according to CVS.
public getVersion ( ) : string
Результат string
    public function getVersion()
    {
        if ($this->version === null) {
            if (preg_match('/^.*\\$Revision: ([\\d\\.]+)/m', $this->getContent('Revision:'), $match)) {
                $this->version = $match[1];
            } else {
                throw new \RuntimeException('Unable to detect revision ID.');
            }
        }
        return $this->version;
    }