public function getMatchlistByAccount( string $encrypted_account_id, $queue = null, $season = null, $champion = null, int $beginTime = null, int $endTime = null, int $beginIndex = null, int $endIndex = null ): Objects\MatchlistDto
	{
		$resultPromise = $this->setEndpoint("/lol/match/" . self::RESOURCE_MATCH_VERSION . "/matchlists/by-account/{$encrypted_account_id}")
			->setResource(self::RESOURCE_MATCH, "/matchlists/by-account/%s")
			->addQuery('queue', $queue)
			->addQuery('season', $season)
			->addQuery('champion', $champion)
			->addQuery('beginTime', $beginTime)
			->addQuery('endTime', $endTime)
			->addQuery('beginIndex', $beginIndex)
			->addQuery('endIndex', $endIndex)
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\MatchlistDto($result, $this);
		});
	}
public function getMatchlistByAccount( string $encrypted_account_id, $queue = null, $season = null, $champion = null, int $beginTime = null, int $endTime = null, int $beginIndex = null, int $endIndex = null ): Objects\MatchlistDto
	{
		$resultPromise = $this->setEndpoint("/lol/match/" . self::RESOURCE_MATCH_VERSION . "/matchlists/by-account/{$encrypted_account_id}")
			->setResource(self::RESOURCE_MATCH, "/matchlists/by-account/%s")
			->addQuery('queue', $queue)
			->addQuery('season', $season)
			->addQuery('champion', $champion)
			->addQuery('beginTime', $beginTime)
			->addQuery('endTime', $endTime)
			->addQuery('beginIndex', $beginIndex)
			->addQuery('endIndex', $endIndex)
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\MatchlistDto($result, $this);
		});
	}
public function getMatchlistByAccount ( string $ encrypted_account_id , $ queue = null , $ season = null , $ champion = null , int $ beginTime = null , int $ endTime = null , int $ beginIndex = null , int $ endIndex = null ) : Objects \ MatchlistDto { $ resultPromise = $ this -> setEndpoint ( "/lol/match/" . self :: RESOURCE_MATCH_VERSION . "/matchlists/by-account/{$encrypted_account_id}" ) -> setResource ( self :: RESOURCE_MATCH , "/matchlists/by-account/%s" ) -> addQuery ( 'queue' , $ queue ) -> addQuery ( 'season' , $ season ) -> addQuery ( 'champion' , $ champion ) -> addQuery ( 'beginTime' , $ beginTime ) -> addQuery ( 'endTime' , $ endTime ) -> addQuery ( 'beginIndex' , $ beginIndex ) -> addQuery ( 'endIndex' , $ endIndex ) -> makeCall ( ) ; return $ this -> resolveOrEnqueuePromise ( $ resultPromise , function ( array $ result ) { return new Objects \ MatchlistDto ( $ result , $ this ) ; } ) ; }
Retrieve matchlist by account ID.

@param string $encrypted_account_id
@param int|array $queue
@param int|array $season
@param int|array $champion
@param int $beginTime
@param int $endTime
@param int $beginIndex
@param int $endIndex

@return Objects\MatchlistDto

@throws RequestException
@throws ServerException
@throws ServerLimitException
@throws SettingsException
@throws GeneralException

@link https://developer.riotgames.com/api-methods/#match-v4/GET_getMatchlist
Retrieve matchlist by account ID .