mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-10-31 20:56:08 +01:00
Models are abstract
This commit is contained in:
parent
27946f9d31
commit
ba3bbcdb69
@ -11,7 +11,7 @@ namespace JeroenED\Libpairtwo\Models;
|
||||
use JeroenED\Libpairtwo\Enums\Gameresult;
|
||||
use JeroenED\Libpairtwo\Pairing;
|
||||
|
||||
class Game
|
||||
abstract class Game
|
||||
{
|
||||
/** @var Pairing */
|
||||
private $white;
|
||||
|
@ -12,7 +12,7 @@ use JeroenED\Libpairtwo\Enums\Color;
|
||||
use JeroenED\Libpairtwo\Enums\Result;
|
||||
use JeroenED\Libpairtwo\Player;
|
||||
|
||||
class Pairing
|
||||
abstract class Pairing
|
||||
{
|
||||
/** @var Player */
|
||||
private $Player;
|
||||
|
@ -13,7 +13,7 @@ use JeroenED\Libpairtwo\Enums\Gender;
|
||||
use JeroenED\Libpairtwo\Pairing;
|
||||
use DateTime;
|
||||
|
||||
class Player
|
||||
abstract class Player
|
||||
{
|
||||
/** @var string */
|
||||
private $Name;
|
||||
|
@ -12,7 +12,7 @@ use DateTime;
|
||||
use JeroenED\Libpairtwo\Game;
|
||||
use JeroenED\Libpairtwo\Pairing;
|
||||
|
||||
class Round
|
||||
abstract class Round
|
||||
{
|
||||
/** @var DateTime */
|
||||
private $date;
|
||||
|
@ -35,7 +35,7 @@ use DateTime;
|
||||
*
|
||||
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
||||
*/
|
||||
class Tournament
|
||||
abstract class Tournament
|
||||
{
|
||||
/** @var string */
|
||||
private $Name;
|
||||
|
@ -4,7 +4,7 @@ namespace JeroenED\Libpairtwo\Readers\Models;
|
||||
|
||||
use JeroenED\Libpairtwo\Tournament;
|
||||
|
||||
class Pairtwo6
|
||||
abstract class Pairtwo6
|
||||
{
|
||||
/** @var string */
|
||||
private $Release;
|
||||
|
Loading…
Reference in New Issue
Block a user