PHP Class LeagueWrap\Api\Currentgame

Inheritance: extends AbstractApi
Show file Open project: paquettg/leaguewrap

Protected Properties

Property Type Description
$defaultRemember integer The amount of time we intend to remember the response for.
$permittedRegions A list of all permitted regions for the league api call.
$versions array Valid version for this api call.

Public Methods

Method Description
currentGame ( Summoner | Int $identity ) : LeagueWrap\Dto\AbstractDto Gets the current game of summoner.
getDomain ( ) : String

Method Details

currentGame() public method

Gets the current game of summoner.
public currentGame ( Summoner | Int $identity ) : LeagueWrap\Dto\AbstractDto
$identity Summoner | Int
return LeagueWrap\Dto\AbstractDto

getDomain() public method

public getDomain ( ) : String
return String domain used for the request

Property Details

$defaultRemember protected property

The amount of time we intend to remember the response for.
protected int $defaultRemember
return integer

$permittedRegions protected property

A list of all permitted regions for the league api call.
protected $permittedRegions

$versions protected property

Valid version for this api call.
protected array $versions
return array