public function getStaticReforgedRunePaths( string $locale = 'en_US', string $version = null ): StaticData\StaticReforgedRunePathList
    {
	    $result = false;
	    try
	    {
		    // Fetch StaticData from JSON files
		    $result = DataDragonAPI::getStaticReforgedRunes($locale, $version);
		    if (!$result) throw new ServerException("StaticData failed to be loaded.");

		    // Create missing data
		    $r = [];
		    foreach ($result as $path)
		    	$r[$path['id']] = $path;
		    $result = [ 'paths' => $r ];

		    $this->result_data = $result;
	    }
	    catch (DataDragonExceptions\SettingsException $ex)
	    {
		    throw new SettingsException("DataDragon API was not initialized properly! StaticData endpoints cannot be used.");
	    }
	    catch (DataDragonExceptions\ArgumentException $ex)
	    {
		    throw new RequestException($ex->getMessage(), $ex->getCode());
	    }
	    finally
	    {
		    // Parse array and create instances
		    return new StaticData\StaticReforgedRunePathList($result, $this);
	    }
    }
public function getStaticReforgedRunePaths( string $locale = 'en_US', string $version = null ): StaticData\StaticReforgedRunePathList
    {
	    $result = false;
	    try
	    {
		    // Fetch StaticData from JSON files
		    $result = DataDragonAPI::getStaticReforgedRunes($locale, $version);
		    if (!$result) throw new ServerException("StaticData failed to be loaded.");

		    // Create missing data
		    $r = [];
		    foreach ($result as $path)
		    	$r[$path['id']] = $path;
		    $result = [ 'paths' => $r ];

		    $this->result_data = $result;
	    }
	    catch (DataDragonExceptions\SettingsException $ex)
	    {
		    throw new SettingsException("DataDragon API was not initialized properly! StaticData endpoints cannot be used.");
	    }
	    catch (DataDragonExceptions\ArgumentException $ex)
	    {
		    throw new RequestException($ex->getMessage(), $ex->getCode());
	    }
	    finally
	    {
		    // Parse array and create instances
		    return new StaticData\StaticReforgedRunePathList($result, $this);
	    }
    }
public function getStaticReforgedRunePaths ( string $ locale = 'en_US' , string $ version = null ) : StaticData \ StaticReforgedRunePathList { $ result = false ; try { // Fetch StaticData from JSON files $ result = DataDragonAPI :: getStaticReforgedRunes ( $ locale , $ version ) ; if ( ! $ result ) throw new ServerException ( "StaticData failed to be loaded." ) ; // Create missing data $ r = [ ] ; foreach ( $ result as $ path ) $ r [ $ path [ 'id' ] ] = $ path ; $ result = [ 'paths' => $ r ] ; $ this -> result_data = $ result ; } catch ( DataDragonExceptions \ SettingsException $ ex ) { throw new SettingsException ( "DataDragon API was not initialized properly! StaticData endpoints cannot be used." ) ; } catch ( DataDragonExceptions \ ArgumentException $ ex ) { throw new RequestException ( $ ex -> getMessage ( ) , $ ex -> getCode ( ) ) ; } finally { // Parse array and create instances return new StaticData \ StaticReforgedRunePathList ( $ result , $ this ) ; } }
Retrieve reforged rune path.

@param string $locale
@param string|null $version

@return StaticData\StaticReforgedRunePathList
@throws RequestException
@throws ServerException
@throws SettingsException
Retrieve reforged rune path .