LeagueWrap\Api\Champion::all PHP Method

all() public method

Gets all the champions in the given region.
public all ( ) : LeagueWrap\Dto\ChampionList
return LeagueWrap\Dto\ChampionList
    public function all()
    {
        $params = ['freeToPlay' => $this->free];
        $info = $this->request('champion', $params);
        // set up the champions
        $championList = new ChampionList($info);
        return $this->attachStaticDataToDto($championList);
    }