mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-22 04:11:22 +01:00
Removed Round methods from Game
Probably follow-up to 8fe7bc73ee28fe1cbe572e3ccec97fe40b679188
This commit is contained in:
parent
8b4eacc0f7
commit
ea365c9e83
72
src/Game.php
72
src/Game.php
@ -129,76 +129,4 @@ class Game
|
||||
$this->result = $result;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return DateTime
|
||||
*/
|
||||
public function getDate(): DateTime
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DateTime $date
|
||||
* @return Round
|
||||
*/
|
||||
public function setDate(DateTime $date): Round
|
||||
{
|
||||
$this->date = $date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Game[]
|
||||
*/
|
||||
public function getGames(): array
|
||||
{
|
||||
return $this->games;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Game[] $games
|
||||
* @return Round
|
||||
*/
|
||||
public function setGames(array $games): Round
|
||||
{
|
||||
$this->games = $games;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getRoundNo(): int
|
||||
{
|
||||
return $this->roundNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $roundNo
|
||||
* @return Round
|
||||
*/
|
||||
public function setRoundNo(int $roundNo): Round
|
||||
{
|
||||
$this->roundNo = $roundNo;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Pairing[]
|
||||
*/
|
||||
public function getPairings(): array
|
||||
{
|
||||
return $this->pairings;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Pairing[] $pairings
|
||||
* @return Round
|
||||
*/
|
||||
public function setPairings(array $pairings): Round
|
||||
{
|
||||
$this->pairings = $pairings;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user