A quick short cut to get the summoner spells by id.

@param int $spellId
@return SummonerSpell|null
436074
public function getSpell($spellId)
	{
		if (isset($this->info['data'][$spellId]))
		{
			return $this->info['data'][$spellId];
		}

		return null;
	}
404627
public static function getByID($pdID)
    {
        $db = Database::connection();
        $pdObject = $db->fetchColumn('SELECT pdObject FROM PermissionDurationObjects WHERE pdID = ?', [$pdID]);
        if ($pdObject) {
            $pd = unserialize($pdObject);

            return $pd;
        }

        return null;
    }
1052884
public function runePage($runePageId)
	{
		if ( ! isset($this->info['runePages']))
		{
			// no rune pages
			return null;
		}
		$runePages = $this->info['runePages'];
		if (isset($runePages[$runePageId]))
		{
			return $runePages[$runePageId];
		}

		return null;
	}
741189
public function get_id_by_bit(string $id): ?string
  {
    if ( \bbn\str::is_uid($id) && ($p = $this->get_by_bit($id)) ){
      return $p[$this->fields['id']];
    }
    return null;
  }
1247402
public static function getByID($cnvEditorID)
    {
        $db = Database::connection();
        $r = $db->fetchAssoc(
            'select *
             from ConversationEditors
             where cnvEditorID = ?',
            array($cnvEditorID)
        );

        return static::createFromRecord($r);
    }
1095983
public function getFilterData($filterId = null) {
        if ($filterId !== null) {
            foreach ($this->filterData->filters->filter as $filter) {
                if ($filter->id == $filterId) {
                    return $filter;
                }
            }

            return null;
        } else {
            return $this->filterData;
        }
    }
768517
public function masteryPage($masteryPageId)
	{
		if ( ! isset($this->info['masteryPages']))
		{
			// no rune pages
			return null;
		}
		$masteryPages = $this->info['masteryPages'];
		if (isset($masteryPages[$masteryPageId]))
		{
			return $masteryPages[$masteryPageId];
		}

		return null;
	}
977787
public function getItem($itemId)
	{
		if (isset($this->info['data'][$itemId]))
		{
			return $this->info['data'][$itemId];
		}

		return null;
	}
477749
public function GetID($DraftID) {
      $this->DraftQuery();
      return $this->SQL
         ->Where('d.DraftID', $DraftID)
         ->Get()
         ->FirstRow();
   }
1246196
public function getEditor($editorId)
    {
        return $this->getFilters()->filter(function (WysiwygEditorInterface $editor) use ($editorId) {
            return $editor->getId() == $editorId;
        })->first();
    }
1217136
public function ban($banId)
	{
		if ( ! isset($this->info['bans']))
		{
			// no teams
			return null;
		}
		$bans = $this->info['bans'];
		if (isset($bans[$banId]))
		{
			return $bans[$banId];
		}

		return null;
	}
395029
public static function getStaticSummonerSpell( string $summonerspell_key, string $locale = 'en_US', string $version = null ) : array
	{
		$data = self::getStaticSummonerSpells($locale, $version);
		if (isset($data['data'][$summonerspell_key]) == false)
			throw new ArgumentException('Summoner spell with given key was not found.', 404);

		return $data['data'][$summonerspell_key];
	}
1172577
public function team($teamId)
	{
		$team = $this->info['teams'];
		if (isset($team[$teamId]))
		{
			return $team[$teamId];
		}

		return null;
	}
583300
public function get($id)
    {
        $resolved = $this->getResolved($id);

        return $resolved ? $resolved->getInnerExtension() : null;
    }
1143774
public function getCurrentSpellRadius(): ?SpellRadius
    {
        $radiusWithAddition = $this->getRadiusWithAddition();
        if (!$radiusWithAddition) {
            return null;
        }

        $radiusModifiersChange = $this->getParameterBonusFromModifiers(ModifierMutableSpellParameterCode::SPELL_RADIUS);
        if (!$radiusModifiersChange) {
            return new SpellRadius([$radiusWithAddition->getValue(), 0], $this->tables);
        }

        return new SpellRadius([$radiusWithAddition->getValue() + $radiusModifiersChange, 0], $this->tables);
    }
942810
public function get($entityId = null)
    {
        if (null !== $entityId) {
            $entityId = '/'.$entityId;
        }


        $response = $this->client->get(sprintf('/entities%s', $entityId));

        return $this->decodeResponse($response);
    }
356755
public function get(int $entityId)
    {
        $response = $this->infakt->get($this->getServiceName().'/'.$entityId.'.json');

        if (2 != substr((string) $response->getStatusCode(), 0, 1)) {
            return null;
        }

        return $this->getMapper()->map(\GuzzleHttp\json_decode($response->getBody()->getContents(), true));
    }