PHP Class LeagueWrap\Api\Champion

Inheritance: extends AbstractApi
Datei anzeigen Open project: paquettg/leaguewrap

Protected Properties

Property 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.

Public Methods

Method 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 method

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

championById() public method

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

free() public method

Gets all the free champions for this week.
public free ( ) : championList
return championList

getDomain() public method

public getDomain ( ) : String
return 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
return 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
return array