LeagueWrap\Region::getPlatformId PHP Method

getPlatformId() protected method

protected getPlatformId ( ) : String
return String platform id for the selected version
    protected function getPlatformId()
    {
        if (array_key_exists($this->region, $this->platformIds)) {
            return $this->platformIds[$this->region];
        } else {
            return strtoupper($this->region);
        }
    }