public function getTournamentLobbyEvents_STUB( string $tournament_code )
	{
		$resultPromise = $this->setEndpoint("/lol/tournament-stub/" . self::RESOURCE_TOURNAMENT_STUB_VERSION . "/lobby-events/by-code/{$tournament_code}")
			->setResource(self::RESOURCE_TOURNAMENT_STUB, "/lobby-events/by-code/%s")
			->useKey(self::SET_TOURNAMENT_KEY)
			->makeCall(Region::AMERICAS);

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\LobbyEventDtoWrapper($result, $this);
		});
	}
public function getTournamentLobbyEvents_STUB( string $tournament_code )
	{
		$resultPromise = $this->setEndpoint("/lol/tournament-stub/" . self::RESOURCE_TOURNAMENT_STUB_VERSION . "/lobby-events/by-code/{$tournament_code}")
			->setResource(self::RESOURCE_TOURNAMENT_STUB, "/lobby-events/by-code/%s")
			->useKey(self::SET_TOURNAMENT_KEY)
			->makeCall(Region::AMERICAS);

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\LobbyEventDtoWrapper($result, $this);
		});
	}
public function getTournamentLobbyEvents_STUB ( string $ tournament_code ) { $ resultPromise = $ this -> setEndpoint ( "/lol/tournament-stub/" . self :: RESOURCE_TOURNAMENT_STUB_VERSION . "/lobby-events/by-code/{$tournament_code}" ) -> setResource ( self :: RESOURCE_TOURNAMENT_STUB , "/lobby-events/by-code/%s" ) -> useKey ( self :: SET_TOURNAMENT_KEY ) -> makeCall ( Region :: AMERICAS ) ; return $ this -> resolveOrEnqueuePromise ( $ resultPromise , function ( array $ result ) { return new Objects \ LobbyEventDtoWrapper ( $ result , $ this ) ; } ) ; }
Gets a mock list of lobby events by tournament code.

@param string $tournament_code

@return Objects\LobbyEventDtoWrapper

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

@link https://developer.riotgames.com/api-methods/#tournament-stub-v4/GET_getLobbyEventsByCode

@internal
Gets a mock list of lobby events by tournament code .