2019-02-11 16:43:36 +01:00
|
|
|
<?php
|
2020-08-02 21:51:59 +02:00
|
|
|
|
2019-02-11 16:43:36 +01:00
|
|
|
/**
|
2019-06-19 19:49:39 +02:00
|
|
|
* Enum Result
|
|
|
|
*
|
|
|
|
* List of all compatible results
|
|
|
|
*
|
2020-08-02 21:51:59 +02:00
|
|
|
* @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
|
|
|
|
*
|
2020-08-02 21:51:59 +02:00
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
2019-06-19 19:49:39 +02:00
|
|
|
*/
|
2019-02-11 16:43:36 +01:00
|
|
|
class Result extends Enum
|
|
|
|
{
|
2020-08-02 21:51:59 +02:00
|
|
|
public const ABSENT = '0 FF';
|
|
|
|
|
|
|
|
public const ADJOURNED = '0 A';
|
|
|
|
|
|
|
|
public const BYE = '0 Bye';
|
|
|
|
|
|
|
|
public const DRAW = '0.5';
|
|
|
|
|
|
|
|
public const DRAW_ADJOURNED = '0.5 A';
|
|
|
|
|
|
|
|
public const LOST = '0';
|
|
|
|
|
|
|
|
public const NONE = '*';
|
|
|
|
|
|
|
|
public const WON = '1';
|
|
|
|
|
|
|
|
public const WON_ADJOURNED = '1 A';
|
|
|
|
|
|
|
|
public const WON_BYE = '1 Bye';
|
|
|
|
|
|
|
|
public const WON_FORFAIT = '1 FF';
|
2019-02-11 16:43:36 +01:00
|
|
|
}
|