App\Http\Controllers\Quarx\EventsController::show PHP Méthode

show() public méthode

Display the specified Page.
public show ( $id ) : Response
Résultat Response
    public function show($id)
    {
        $event = $this->eventsRepository->findEventById($id);
        if (empty($event)) {
            abort(404);
        }
        return view('quarx-frontend::events.' . $event->template)->with('event', $event);
    }