public function getSummonerByAccount( string $encrypted_account_id )
	{
		$resultPromise = $this->setEndpoint("/lol/summoner/" . self::RESOURCE_SUMMONER_VERSION . "/summoners/by-account/{$encrypted_account_id}")
			->setResource(self::RESOURCE_SUMMONER, "/summoners/by-account/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\SummonerDto($result, $this);
		});
	}
public function getSummonerByAccount( string $encrypted_account_id )
	{
		$resultPromise = $this->setEndpoint("/lol/summoner/" . self::RESOURCE_SUMMONER_VERSION . "/summoners/by-account/{$encrypted_account_id}")
			->setResource(self::RESOURCE_SUMMONER, "/summoners/by-account/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\SummonerDto($result, $this);
		});
	}
public function getSummonerByAccount ( string $ encrypted_account_id ) { $ resultPromise = $ this -> setEndpoint ( "/lol/summoner/" . self :: RESOURCE_SUMMONER_VERSION . "/summoners/by-account/{$encrypted_account_id}" ) -> setResource ( self :: RESOURCE_SUMMONER , "/summoners/by-account/%s" ) -> makeCall ( ) ; return $ this -> resolveOrEnqueuePromise ( $ resultPromise , function ( array $ result ) { return new Objects \ SummonerDto ( $ result , $ this ) ; } ) ; }
Get single summoner object for a given summoner's account ID.

@param string $encrypted_account_id

@return Objects\SummonerDto

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

@link https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByAccountId
Get single summoner object for a given summoner s account ID .