LeagueWrap\Api\AbstractApi::getVersion PHP Method

getVersion() protected method

Get the version string.
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;
    }