2019-01-16 18:03:07 +01:00
|
|
|
<?php
|
|
|
|
|
2019-05-27 12:58:53 +02:00
|
|
|
namespace JeroenED\Libpairtwo\Readers\Models;
|
2019-01-16 18:03:07 +01:00
|
|
|
|
2019-02-11 17:27:26 +01:00
|
|
|
use JeroenED\Libpairtwo\Tournament;
|
|
|
|
|
2019-05-27 13:06:35 +02:00
|
|
|
abstract class Pairtwo6
|
2019-01-16 18:03:07 +01:00
|
|
|
{
|
2019-03-20 17:33:09 +01:00
|
|
|
/** @var string */
|
2019-01-16 18:03:07 +01:00
|
|
|
private $Release;
|
2019-03-20 17:33:09 +01:00
|
|
|
|
|
|
|
/** @var tournament */
|
2019-01-16 18:03:07 +01:00
|
|
|
private $Tournament;
|
2019-03-20 17:33:09 +01:00
|
|
|
|
|
|
|
/** @var bool|DateTime|int|string[] */
|
2019-01-18 14:18:52 +01:00
|
|
|
private $BinaryData;
|
2019-01-16 18:03:07 +01:00
|
|
|
|
|
|
|
/**
|
2019-05-28 14:10:42 +02:00
|
|
|
* @return string
|
2019-01-16 18:03:07 +01:00
|
|
|
*/
|
2019-02-11 17:27:26 +01:00
|
|
|
public function getRelease(): string
|
2019-01-16 18:03:07 +01:00
|
|
|
{
|
|
|
|
return $this->Release;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2019-05-28 14:10:42 +02:00
|
|
|
* @param string $Release
|
|
|
|
* @return Pairtwo6
|
2019-01-16 18:03:07 +01:00
|
|
|
*/
|
2019-05-28 14:10:42 +02:00
|
|
|
public function setRelease(string $Release): Pairtwo6
|
2019-01-16 18:03:07 +01:00
|
|
|
{
|
|
|
|
$this->Release = $Release;
|
2019-05-28 14:10:42 +02:00
|
|
|
return $this;
|
2019-01-16 18:03:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2019-02-11 17:27:26 +01:00
|
|
|
* @return Tournament
|
2019-01-16 18:03:07 +01:00
|
|
|
*/
|
2019-02-11 17:27:26 +01:00
|
|
|
public function getTournament(): Tournament
|
2019-01-16 18:03:07 +01:00
|
|
|
{
|
|
|
|
return $this->Tournament;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2019-02-11 17:27:26 +01:00
|
|
|
* @param Tournament $Tournament
|
2019-05-28 14:10:42 +02:00
|
|
|
* @return Pairtwo6
|
2019-01-16 18:03:07 +01:00
|
|
|
*/
|
2019-05-28 14:10:42 +02:00
|
|
|
public function setTournament(Tournament $Tournament): Pairtwo6
|
2019-01-16 18:03:07 +01:00
|
|
|
{
|
|
|
|
$this->Tournament = $Tournament;
|
2019-05-28 14:10:42 +02:00
|
|
|
return $this;
|
2019-01-16 18:03:07 +01:00
|
|
|
}
|
2019-01-18 14:17:43 +01:00
|
|
|
|
2019-05-28 14:10:42 +02:00
|
|
|
|
2019-01-18 14:17:43 +01:00
|
|
|
/**
|
2019-05-28 14:10:42 +02:00
|
|
|
* @param string $Key
|
|
|
|
* @return bool|DateTime|int|string
|
2019-01-18 14:17:43 +01:00
|
|
|
*/
|
2019-05-28 14:10:42 +02:00
|
|
|
public function getBinaryData(string $Key)
|
2019-01-18 14:17:43 +01:00
|
|
|
{
|
2019-05-28 14:10:42 +02:00
|
|
|
return $this->BinaryData[$Key];
|
2019-01-18 14:17:43 +01:00
|
|
|
}
|
|
|
|
|
2019-05-28 14:10:42 +02:00
|
|
|
|
2019-01-18 14:17:43 +01:00
|
|
|
/**
|
2019-05-28 14:10:42 +02:00
|
|
|
* @param string $Key
|
|
|
|
* @param bool|int|DateTime|string $Value
|
|
|
|
* @return Pairtwo6
|
2019-01-18 14:17:43 +01:00
|
|
|
*/
|
2019-05-28 14:10:42 +02:00
|
|
|
public function setBinaryData(string $Key, $Value): Pairtwo6
|
2019-01-18 14:17:43 +01:00
|
|
|
{
|
2019-05-28 14:10:42 +02:00
|
|
|
$this->BinaryData[$Key] = $Value;
|
|
|
|
return $this;
|
2019-01-18 14:17:43 +01:00
|
|
|
}
|
2019-01-16 18:03:07 +01:00
|
|
|
}
|