libpairtwo/src/Models/Sws.php

64 lines
1.0 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;
/**
* @return mixed
*/
public function getRelease()
{
return $this->Release;
}
/**
* @param mixed $Release
*/
public function setRelease($Release)
{
$this->Release = $Release;
}
/**
* @return mixed
*/
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
}