mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-25 15:57:41 +01:00
Updated a.3 Showing the pairings of a specific player (markdown)
parent
aa9d5ac221
commit
862a4aae97
@ -11,7 +11,7 @@ use JeroenED\Libpairtwo\IOFactory;
|
|||||||
use JeroenED\Libpairtwo\Player;
|
use JeroenED\Libpairtwo\Player;
|
||||||
use JeroenED\Libpairtwo\Enums\Result;
|
use JeroenED\Libpairtwo\Enums\Result;
|
||||||
|
|
||||||
$filereader = IOFactory::createReader('Pairtwo-6');
|
$filereader = IOFactory::createReader('Swar-4');
|
||||||
$filereader->read('Tata-Steel-2018.sws');
|
$filereader->read('Tata-Steel-2018.sws');
|
||||||
$magnusses = Player::getPlayersByName("Magnus Carlsen", $filereader->getTournament());
|
$magnusses = Player::getPlayersByName("Magnus Carlsen", $filereader->getTournament());
|
||||||
$magnus = $magnusses[0];
|
$magnus = $magnusses[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user