public getChampion ( integer $championId ) : |
||
$championId | integer | |
Résultat |
public function getChampion($championId)
{
foreach ($this->info as $mastery) {
if ($mastery->championId == $championId) {
return $mastery;
}
}
return null;
}