mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +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\Enums\Gameresult;
|
||||||
use JeroenED\Libpairtwo\Pairing;
|
use JeroenED\Libpairtwo\Pairing;
|
||||||
|
|
||||||
class Game
|
abstract class Game
|
||||||
{
|
{
|
||||||
/** @var Pairing */
|
/** @var Pairing */
|
||||||
private $white;
|
private $white;
|
||||||
|
@ -12,7 +12,7 @@ use JeroenED\Libpairtwo\Enums\Color;
|
|||||||
use JeroenED\Libpairtwo\Enums\Result;
|
use JeroenED\Libpairtwo\Enums\Result;
|
||||||
use JeroenED\Libpairtwo\Player;
|
use JeroenED\Libpairtwo\Player;
|
||||||
|
|
||||||
class Pairing
|
abstract class Pairing
|
||||||
{
|
{
|
||||||
/** @var Player */
|
/** @var Player */
|
||||||
private $Player;
|
private $Player;
|
||||||
|
@ -13,7 +13,7 @@ use JeroenED\Libpairtwo\Enums\Gender;
|
|||||||
use JeroenED\Libpairtwo\Pairing;
|
use JeroenED\Libpairtwo\Pairing;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
|
|
||||||
class Player
|
abstract class Player
|
||||||
{
|
{
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $Name;
|
private $Name;
|
||||||
|
@ -12,7 +12,7 @@ use DateTime;
|
|||||||
use JeroenED\Libpairtwo\Game;
|
use JeroenED\Libpairtwo\Game;
|
||||||
use JeroenED\Libpairtwo\Pairing;
|
use JeroenED\Libpairtwo\Pairing;
|
||||||
|
|
||||||
class Round
|
abstract class Round
|
||||||
{
|
{
|
||||||
/** @var DateTime */
|
/** @var DateTime */
|
||||||
private $date;
|
private $date;
|
||||||
|
@ -35,7 +35,7 @@ use DateTime;
|
|||||||
*
|
*
|
||||||
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
||||||
*/
|
*/
|
||||||
class Tournament
|
abstract class Tournament
|
||||||
{
|
{
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $Name;
|
private $Name;
|
||||||
|
@ -4,7 +4,7 @@ namespace JeroenED\Libpairtwo\Readers\Models;
|
|||||||
|
|
||||||
use JeroenED\Libpairtwo\Tournament;
|
use JeroenED\Libpairtwo\Tournament;
|
||||||
|
|
||||||
class Pairtwo6
|
abstract class Pairtwo6
|
||||||
{
|
{
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $Release;
|
private $Release;
|
||||||
|
Loading…
Reference in New Issue
Block a user