diff --git a/e.-Reader-boilerplate.md b/e.-Reader-boilerplate.md new file mode 100644 index 0000000..e84f395 --- /dev/null +++ b/e.-Reader-boilerplate.md @@ -0,0 +1,43 @@ +```php +Tournament; + } + + /** + * @param Tournament $Tournament + */ + public function setTournament(Tournament $Tournament) + { + $this->Tournament = $Tournament; + } + + public function read($filename): ReaderInterface + { + $tournament = new Tournament(); + // Reading out of fields + $this->setTournament($tournament); + } +} + +``` \ No newline at end of file