public function setTemporaryRegion( string $tempRegion ): self
	{
		$this->setSetting(self::SET_ORIG_REGION, $this->getSetting(self::SET_REGION));
		$this->setSetting(self::SET_REGION, $this->regions->getRegionName($tempRegion));
		$this->setSetting(self::SET_PLATFORM, $this->platforms->getPlatformName($tempRegion));
		return $this;
	}
public function setTemporaryRegion( string $tempRegion ): self
	{
		$this->setSetting(self::SET_ORIG_REGION, $this->getSetting(self::SET_REGION));
		$this->setSetting(self::SET_REGION, $this->regions->getRegionName($tempRegion));
		$this->setSetting(self::SET_PLATFORM, $this->platforms->getPlatformName($tempRegion));
		return $this;
	}
public function setTemporaryRegion ( string $ tempRegion ) : self { $ this -> setSetting ( self :: SET_ORIG_REGION , $ this -> getSetting ( self :: SET_REGION ) ) ; $ this -> setSetting ( self :: SET_REGION , $ this -> regions -> getRegionName ( $ tempRegion ) ) ; $ this -> setSetting ( self :: SET_PLATFORM , $ this -> platforms -> getPlatformName ( $ tempRegion ) ) ; return $ this ; }
Sets temporary region to be used on API calls. Saves current region.

@param string $tempRegion

@return LeagueAPI
@throws SettingsException
@throws GeneralException
Sets temporary region to be used on API calls . Saves current region .