getStation(); if (!$station->getEnablePublicPage()) { throw new StationNotFoundException(); } $view = $request->getView(); // Add station public code. $view->fetch( 'frontend/public/partials/station-custom', ['station' => $station] ); return $view->renderVuePage( response: $response->withHeader('X-Frame-Options', '*'), component: 'Vue_PublicHistory', id: 'song-history', layout: 'minimal', title: __('History') . ' - ' . $station->getName(), layoutParams: [ 'page_class' => 'embed station-' . $station->getShortName(), 'hide_footer' => true, ], props: $this->nowPlayingComponent->getProps($request), ); } }