Jackalope\Version\VersionHistory::getVersion PHP Метод

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

{@inheritDoc}
public getVersion ( $versionName )
    public function getVersion($versionName)
    {
        $this->getAllVersions();
        if (isset($this->versions[$versionName])) {
            return $this->versions[$versionName];
        }
        throw new VersionException("No version '{$versionName}'");
    }