/** * Get the recent notifications and announcements for the user. * * @param NotificationRepository $notifications * @param Request $request */ public function recent(NotificationRepository $notifications, Request $request) { $this->setContent($notifications->recent($request->user())); }