PHP Class LeagueWrap\Api\Champion

Inheritance: extends AbstractApi
Afficher le fichier Open project: paquettg/leaguewrap

Protected Properties

Свойство Type Description
$defaultRemember integer The amount of time we intend to remember the response for.
$free Do we want to only get the free champions?
$permittedRegions A list of all permitted regions for the Champion api call.
$versions array Valid versions for this api call.

Méthodes publiques

Méthode Description
all ( ) : LeagueWrap\Dto\ChampionList Gets all the champions in the given region.
championById ( integer $championId ) : LeagueWrap\Dto\Champion Gets the information for a single champion
free ( ) : championList Gets all the free champions for this week.
getDomain ( ) : String

Method Details

all() public méthode

Gets all the champions in the given region.
public all ( ) : LeagueWrap\Dto\ChampionList
Résultat LeagueWrap\Dto\ChampionList

championById() public méthode

Gets the information for a single champion
public championById ( integer $championId ) : LeagueWrap\Dto\Champion
$championId integer
Résultat LeagueWrap\Dto\Champion

free() public méthode

Gets all the free champions for this week.
public free ( ) : championList
Résultat championList

getDomain() public méthode

public getDomain ( ) : String
Résultat String domain used for the request

Property Details

$defaultRemember protected_oe property

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

$free protected_oe property

Do we want to only get the free champions?
protected $free

$permittedRegions protected_oe property

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

$versions protected_oe property

Valid versions for this api call.
protected array $versions
Résultat array