Updated a.3 Showing the pairings of a specific player (markdown)

Jeroen De Meerleer 2019-09-27 19:37:50 +02:00
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];