addPlayer($player, $rating); } } public function addPlayer($player, $rating) { $this->setRating($player, $rating); return $this; } } ?>