示例#1
0
 /**
  * @param int $home
  * @param int $away
  * @param int $week
  *
  * @return Fixture
  */
 private function createFixture($home, $away, $week)
 {
     $fixture = new Fixture();
     $fixture->setTeamHome($home);
     $fixture->setTeamAway($away);
     $fixture->setWeek($week);
     return $fixture;
 }