LeagueWrap\Region::getFeaturedGamesDomain PHP Method

getFeaturedGamesDomain() public method

Returns the observer domain that this region needs to make its request.
public getFeaturedGamesDomain ( ) : string
return string
    public function getFeaturedGamesDomain()
    {
        return sprintf($this->featuredGameDomain, $this->getRegion());
    }

Usage Example

コード例 #1
0
ファイル: RegionTest.php プロジェクト: Chokapix/leaguewrap
 public function testGetFeaturedGamesDomain()
 {
     $region = new Region('na');
     $this->assertEquals('https://na.api.pvp.net/observer-mode/rest/', $region->getFeaturedGamesDomain());
 }