public function getLeagueById( string $league_id )
	{
		$resultPromise = $this->setEndpoint("/lol/league/" . self::RESOURCE_LEAGUE_VERSION . "/leagues/{$league_id}")
			->setResource(self::RESOURCE_LEAGUE, "/leagues/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\LeagueListDto($result, $this);
		});
	}
public function getLeagueById( string $league_id )
	{
		$resultPromise = $this->setEndpoint("/lol/league/" . self::RESOURCE_LEAGUE_VERSION . "/leagues/{$league_id}")
			->setResource(self::RESOURCE_LEAGUE, "/leagues/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(array $result) {
			return new Objects\LeagueListDto($result, $this);
		});
	}
public function getLeagueById ( string $ league_id ) { $ resultPromise = $ this -> setEndpoint ( "/lol/league/" . self :: RESOURCE_LEAGUE_VERSION . "/leagues/{$league_id}" ) -> setResource ( self :: RESOURCE_LEAGUE , "/leagues/%s" ) -> makeCall ( ) ; return $ this -> resolveOrEnqueuePromise ( $ resultPromise , function ( array $ result ) { return new Objects \ LeagueListDto ( $ result , $ this ) ; } ) ; }
Get league by its UUID.

@param string $league_id

@return Objects\LeagueListDto

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

@link https://developer.riotgames.com/api-methods/#league-v4/GET_getLeagueById
Get league by its UUID .