WithGeneratorSetters
in
Interface for objects that can generate games
Tags
Table of Contents
- getInGame() : int
- Get how many teams play in each game
- getMaxSize() : int
- Get max group size
- getType() : mixed
- Get generator type
- setInGame() : $this
- Set how many teams play in each game
- setMaxSize() : $this
- Set max group size
- setType() : $this
- Sets a generator type
Methods
getInGame()
Get how many teams play in each game
public
getInGame() : int
Return values
int —getMaxSize()
Get max group size
public
getMaxSize() : int
Return values
int —getType()
Get generator type
public
getType() : mixed
Return values
mixed —setInGame()
Set how many teams play in each game
public
setInGame(int $inGame) : $this
Parameters
- $inGame : int
-
2/3/4
Return values
$this —setMaxSize()
Set max group size
public
setMaxSize(int $size) : $this
Parameters
- $size : int
Return values
$this —setType()
Sets a generator type
public
setType([string $type = Constants::ROUND_ROBIN ]) : $this
Parameters
- $type : string = Constants::ROUND_ROBIN