App\Http\Controllers\Quarx\EventsController::all PHP Method

all() public method

Display page list.
public all ( ) : Response
return Response
    public function all()
    {
        $events = $this->eventsRepository->published();
        if (empty($events)) {
            abort(404);
        }
        return view('quarx-frontend::events.all')->with('events', $events);
    }