public function find($tournamentId) { $collection = Tournament::with('tournamentTeams.team')->where(['id' => $tournamentId]); return $this->response->collection($collection->get(), new TournamentTransformer($this->response), 'tournaments'); }