LeagueWrap\Api\Championmastery::champion PHP Метод

champion() публичный Метод

public champion ( $identity, $championId )
    public function champion($identity, $championId)
    {
        $summonerId = $this->extractId($identity);
        $response = $this->request('player/' . $summonerId . '/champion/' . $championId, [], false, false);
        $mastery = new \LeagueWrap\Dto\ChampionMastery($response);
        $this->attachResponse($identity, $mastery, "championmastery");
        return $mastery;
    }