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

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

Returns the observer domain that this region needs to make its request.
public getFeaturedGamesDomain ( ) : string
Результат string
    public function getFeaturedGamesDomain()
    {
        return sprintf($this->featuredGameDomain, $this->getRegion());
    }

Usage Example

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