$startVote]); } /** * End of participation landing page. */ public function endParticipation(): View { return $this->render('fo.pages.goldenCrush.end-of-participation'); } /** * End of game landing page. */ public function endGame(): View { return $this->render('fo.pages.goldenCrush.end-game'); } /** * Render video in view. * * @param string $view for inject videos. */ private function render(string $view): View { $videos = GoldenCrushGame::getVideos(); return view($view, compact('videos')); } }