matchId = $id; $this->homeTeam = $homeTeam; $this->awayTeam = $awayTeam; $this->odds1 = $odds1; $this->oddsX = $oddsX; $this->odds2 = $odds2; $this->homeScore = $homeScore; $this->awayScore = $awayScore; $this->gameDate = $gameDate; $this->season = $season; $this->homeTeamName = $homeTeam->getTeamName(); $this->awayTeamName = $awayTeam->getTeamName(); } public function getHomeTeam() { return $this->homeTeam; } public function getGameDate() { return $this->gameDate; } public function getAwayTeam() { return $this->awayTeam; } public function getOdds1() { return $this->odds1; } public function getOddsX() { return $this->oddsX; } public function getOdds2() { return $this->odds2; } public function getLeagueName() { return $this->leagueName; } }