mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-22 20:31:21 +01:00
24 lines
365 B
PHP
24 lines
365 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: jeroen
|
|
* Date: 1/02/19
|
|
* Time: 17:16
|
|
*/
|
|
|
|
namespace JeroenED\Libpairtwo;
|
|
|
|
use JeroenED\Libpairtwo\Models\Round as RoundModel;
|
|
|
|
class Round extends RoundModel
|
|
{
|
|
|
|
public function addGame(Game $game)
|
|
{
|
|
$newarray = $this->getGames();
|
|
$newarray[] = $game;
|
|
$this->setGames($newarray);
|
|
|
|
}
|
|
}
|