public function setRegion( string $region ): self
	{
		$this->setSetting(self::SET_REGION, $this->regions->getRegionName($region));
		$this->setSetting(self::SET_PLATFORM, $this->platforms->getPlatformName($region));
		return $this;
	}
public function setRegion( string $region ): self
	{
		$this->setSetting(self::SET_REGION, $this->regions->getRegionName($region));
		$this->setSetting(self::SET_PLATFORM, $this->platforms->getPlatformName($region));
		return $this;
	}
public function setRegion ( string $ region ) : self { $ this -> setSetting ( self :: SET_REGION , $ this -> regions -> getRegionName ( $ region ) ) ; $ this -> setSetting ( self :: SET_PLATFORM , $ this -> platforms -> getPlatformName ( $ region ) ) ; return $ this ; }
Sets new region to be used on API calls.

@param string $region

@return LeagueAPI
@throws SettingsException
@throws GeneralException
Sets new region to be used on API calls .