2019-02-11 16:43:36 +01:00
|
|
|
<?php
|
|
|
|
/**
|
2019-06-19 19:49:39 +02:00
|
|
|
* Enum Result
|
|
|
|
*
|
|
|
|
* List of all compatible results
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
2019-02-11 16:43:36 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace JeroenED\Libpairtwo\Enums;
|
|
|
|
|
|
|
|
use MyCLabs\Enum\Enum;
|
|
|
|
|
2019-06-19 19:49:39 +02:00
|
|
|
/**
|
|
|
|
* Enum Result
|
|
|
|
*
|
|
|
|
* List of all compatible results
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
*/
|
2019-02-11 16:43:36 +01:00
|
|
|
class Result extends Enum
|
|
|
|
{
|
2019-09-28 20:31:38 +02:00
|
|
|
const None = '*';
|
|
|
|
const Lost = '0';
|
|
|
|
const Draw = '0.5';
|
|
|
|
const Won = '1';
|
|
|
|
const Absent = '0 FF';
|
|
|
|
const WonForfait = '1 FF';
|
|
|
|
const Adjourned = '0 A';
|
|
|
|
const DrawAdjourned = '0.5 A';
|
|
|
|
const WonAdjourned = '1 A';
|
|
|
|
const Bye = '0 Bye';
|
|
|
|
const WonBye = '1 Bye';
|
2019-02-11 16:43:36 +01:00
|
|
|
}
|