PHP 클래스 LeagueWrap\Api\Summoner

상속: extends AbstractApi
파일 보기 프로젝트 열기: paquettg/leaguewrap

보호된 프로퍼티들

프로퍼티 타입 설명
$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.
$summoners array The summoners we have loaded.
$versions array Valid version for this api call.

공개 메소드들

메소드 설명
__get ( string $key ) : object | null Attempt to get a summoner by key.
allInfo ( mixed $identities ) : LeagueWrap\Dto\Summoner; Attempts to get all information about this user. This method will make 3 requests!
get ( string $key ) : object | null Attempt to get a summoner by key.
getDomain ( ) : String
info ( mixed $identities ) : LeagueWrap\Dto\Summoner Gets the information about the user by the given identification. IDs must be of type integer, otherwise, numeric string values will be assumed to be names.
masteryPages ( mixed $identities ) : array Gets all the mastery pages of the given user object or id.
name ( mixed $identities ) : array Gets the name of each summoner from a list of ids.
runePages ( mixed $identities ) : array Gets all rune pages of the given user object or id.

보호된 메소드들

메소드 설명
infoByIds ( array $ids ) : LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[]; Gets the information by the id of the summoner.
infoByNames ( array $names ) : LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[]; Gets the information by the name of the summoner.

메소드 상세

__get() 공개 메소드

Attempt to get a summoner by key.
public __get ( string $key ) : object | null
$key string
리턴 object | null

allInfo() 공개 메소드

Attempts to get all information about this user. This method will make 3 requests!
public allInfo ( mixed $identities ) : LeagueWrap\Dto\Summoner;
$identities mixed
리턴 LeagueWrap\Dto\Summoner;

get() 공개 메소드

Attempt to get a summoner by key.
public get ( string $key ) : object | null
$key string
리턴 object | null

getDomain() 공개 메소드

public getDomain ( ) : String
리턴 String domain used for the request

info() 공개 메소드

Gets the information about the user by the given identification. IDs must be of type integer, otherwise, numeric string values will be assumed to be names.
public info ( mixed $identities ) : LeagueWrap\Dto\Summoner
$identities mixed
리턴 LeagueWrap\Dto\Summoner

infoByIds() 보호된 메소드

Gets the information by the id of the summoner.
protected infoByIds ( array $ids ) : LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[];
$ids array
리턴 LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[];

infoByNames() 보호된 메소드

Gets the information by the name of the summoner.
protected infoByNames ( array $names ) : LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[];
$names array
리턴 LeagueWrap\Dto\Summoner | LeagueWrap\Dto\Summoner[];

masteryPages() 공개 메소드

Gets all the mastery pages of the given user object or id.
public masteryPages ( mixed $identities ) : array
$identities mixed
리턴 array

name() 공개 메소드

Gets the name of each summoner from a list of ids.
public name ( mixed $identities ) : array
$identities mixed
리턴 array

runePages() 공개 메소드

Gets all rune pages of the given user object or id.
public runePages ( mixed $identities ) : array
$identities mixed
리턴 array

프로퍼티 상세

$defaultRemember 보호되어 있는 프로퍼티

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

$permittedRegions 보호되어 있는 프로퍼티

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

$summoners 보호되어 있는 프로퍼티

The summoners we have loaded.
protected array $summoners
리턴 array

$versions 보호되어 있는 프로퍼티

Valid version for this api call.
protected array $versions
리턴 array