2019-05-27 12:37:59 +02:00
|
|
|
<?php
|
2019-06-19 19:49:39 +02:00
|
|
|
/**
|
|
|
|
* Interface ReaderInterface
|
|
|
|
*
|
|
|
|
* Sets the methods a reader needs to implement
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
*/
|
2019-05-27 12:37:59 +02:00
|
|
|
|
|
|
|
namespace JeroenED\Libpairtwo\Interfaces;
|
|
|
|
|
2019-05-28 13:46:52 +02:00
|
|
|
use JeroenED\Libpairtwo\Tournament;
|
|
|
|
|
2019-06-19 19:49:39 +02:00
|
|
|
/**
|
|
|
|
* Interface ReaderInterface
|
|
|
|
*
|
|
|
|
* Sets the methods a reader needs to implement
|
|
|
|
*
|
|
|
|
* @author Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
* @category Main
|
|
|
|
* @package Libpairtwo
|
|
|
|
* @copyright Copyright (c) 2018-2019 Jeroen De Meerleer <schaak@jeroened.be>
|
|
|
|
*/
|
2019-05-27 12:37:59 +02:00
|
|
|
interface ReaderInterface
|
|
|
|
{
|
2019-06-19 19:49:39 +02:00
|
|
|
/**
|
|
|
|
* Reads out $filename
|
|
|
|
*
|
|
|
|
* @param $filename
|
|
|
|
* @return ReaderInterface
|
|
|
|
*/
|
|
|
|
public function read(string $filename): ReaderInterface;
|
2019-05-27 12:37:59 +02:00
|
|
|
}
|