libpairtwo/src/Models/Sws.php

65 lines
1.1 KiB
PHP
Raw Normal View History

2019-01-16 18:03:07 +01:00
<?php
namespace JeroenED\Libpairtwo\Models;
class Sws
{
private $Release;
private $Tournament;
2019-01-18 14:18:52 +01:00
private $BinaryData;
2019-01-16 18:03:07 +01:00
/**
2019-01-18 14:18:52 +01:00
* @return String
2019-01-16 18:03:07 +01:00
*/
public function getRelease()
{
return $this->Release;
}
/**
2019-01-18 14:18:52 +01:00
* @param String $Release
2019-01-16 18:03:07 +01:00
*/
2019-01-18 14:18:52 +01:00
public function setRelease(String $Release): void
2019-01-16 18:03:07 +01:00
{
$this->Release = $Release;
}
/**
2019-01-18 14:18:52 +01:00
* @return Tournament
2019-01-16 18:03:07 +01:00
*/
public function getTournament()
{
return $this->Tournament;
}
/**
2019-01-18 14:17:43 +01:00
* @param Tournament $Tournament
2019-01-16 18:03:07 +01:00
*/
2019-01-18 14:17:43 +01:00
public function setTournament(Tournament $Tournament): void
2019-01-16 18:03:07 +01:00
{
$this->Tournament = $Tournament;
}
2019-01-18 14:17:43 +01:00
/**
* Returns binary data from the sws-file
*
* @param string
* @return string
*/
public function getBinaryData(String $key)
{
return $this->BinaryData[$key];
}
/**
* Sets binary data
*
* @param string
* @param string
*/
public function setBinaryData(String $key, String $data): void
{
$this->BinaryData[$key] = $data;
}
2019-01-16 18:03:07 +01:00
}