PHP Class LeagueWrap\Api\Matchlist

Inheritance: extends AbstractApi
Exibir arquivo 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 Champion api call.
$versions array Valid version for this api call.

Public Methods

Method Description
getDomain ( ) : String
matchlist ( $identity, array | string | null $rankedQueues = null, array | string | null $seasons = null, array | string | null $championIds = null, integer | null $beginIndex = null, integer | null $endIndex = null, integer | null $beginTime = null, integer | null $endTime = null ) : LeagueWrap\Dto\MatchHistory Get the match list by summoner identity.

Protected Methods

Method Description
parseParams ( mixed $rankedQueues = null, mixed $seasons = null, mixed $championIds = null, mixed $beginIndex = null, mixed $endIndex = null, mixed $beginTime = null, mixed $endTime = null ) : array Parse the params into an array.

Method Details

getDomain() public method

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

matchlist() public method

Get the match list by summoner identity.
public matchlist ( $identity, array | string | null $rankedQueues = null, array | string | null $seasons = null, array | string | null $championIds = null, integer | null $beginIndex = null, integer | null $endIndex = null, integer | null $beginTime = null, integer | null $endTime = null ) : LeagueWrap\Dto\MatchHistory
$identity int|Summoner
$rankedQueues array | string | null List of ranked queue types to use for fetching games.
$seasons array | string | null List of seasons to use for fetching games.
$championIds array | string | null Comma-separated list of champion IDs to use for fetching games.
$beginIndex integer | null The begin index to use for fetching games.
$endIndex integer | null The end index to use for fetching games.
$beginTime integer | null The begin time for fetching games in milliseconds
$endTime integer | null The end time for fetching games in milliseconds
return LeagueWrap\Dto\MatchHistory

parseParams() protected method

Parse the params into an array.
protected parseParams ( mixed $rankedQueues = null, mixed $seasons = null, mixed $championIds = null, mixed $beginIndex = null, mixed $endIndex = null, mixed $beginTime = null, mixed $endTime = null ) : array
$rankedQueues mixed
$seasons mixed
$championIds mixed
$beginIndex mixed
$endIndex mixed
$beginTime mixed
$endTime mixed
return array

Property Details

$defaultRemember protected_oe property

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

$permittedRegions protected_oe property

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

$versions protected_oe property

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