PHP Класс LeagueWrap\Api\Champion

Наследование: extends AbstractApi
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
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

Описание методов

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

Gets all the champions in the given region.
public all ( ) : LeagueWrap\Dto\ChampionList
Результат LeagueWrap\Dto\ChampionList

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

Gets the information for a single champion
public championById ( integer $championId ) : LeagueWrap\Dto\Champion
$championId integer
Результат LeagueWrap\Dto\Champion

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

Gets all the free champions for this week.
public free ( ) : championList
Результат championList

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

public getDomain ( ) : String
Результат String domain used for the request

Описание свойств

$defaultRemember защищенное свойство

The amount of time we intend to remember the response for.
protected int $defaultRemember
Результат integer

$free защищенное свойство

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

$permittedRegions защищенное свойство

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

$versions защищенное свойство

Valid versions for this api call.
protected array $versions
Результат array