mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-22 04:11:22 +01:00
implemented reader template
This commit is contained in:
parent
21fb6a70bb
commit
2791a1051f
33
src/Readers/Swar4.php
Normal file
33
src/Readers/Swar4.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Reader Pairtwo6
|
||||
*
|
||||
* Reads out Swar-4 files
|
||||
*
|
||||
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
||||
* @category Main
|
||||
* @package Libpairtwo
|
||||
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
||||
*/
|
||||
|
||||
|
||||
namespace JeroenED\Libpairtwo\Readers;
|
||||
|
||||
use JeroenED\Libpairtwo\Interfaces\ReaderInterface;
|
||||
use JeroenED\Libpairtwo\Tournament;
|
||||
|
||||
class Swar4 implements ReaderInterface
|
||||
{
|
||||
/** @var Tournament */
|
||||
private $tournament;
|
||||
|
||||
public function read(string $filename): ReaderInterface
|
||||
{
|
||||
// TODO: Implement read() method.
|
||||
}
|
||||
|
||||
public function getTournament(): Tournament
|
||||
{
|
||||
return $this->tournament;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user