| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class GameManager |
||
| 10 | { |
||
| 11 | private GameRepository $gameRepository; |
||
| 12 | |||
| 13 | public function __construct(GameRepository $gameRepository) |
||
| 14 | { |
||
| 15 | $this->gameRepository = $gameRepository; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param Game $game |
||
| 20 | */ |
||
| 21 | public function maj(Game $game): void |
||
| 22 | { |
||
| 23 | $this->gameRepository->maj($game); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Game $game |
||
| 28 | * @throws Exception |
||
| 29 | */ |
||
| 30 | public function copy(Game $game): void |
||
| 33 | } |
||
| 34 | } |
||
| 35 |