/** * @param MatchCollection $matchCollection */ public function calculateMatches(MatchCollection $matchCollection) { foreach ($matchCollection->getMatches() as $match) { $this->calculateMatch($match); } }