LeagueWrap\Region::getCurrentGameDomain PHP Метод

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

    public function getCurrentGameDomain()
    {
        return sprintf($this->currentGameDomain, $this->getRegion(), $this->getPlatformId());
    }

Usage Example

Пример #1
0
 public function testGetCurrentGameDomain()
 {
     $region = new Region('euw');
     $this->assertEquals('https://euw.api.pvp.net/observer-mode/rest/consumer/getSpectatorGameInfo/EUW1/', $region->getCurrentGameDomain());
 }