userRepo->getBySlug($slug); $userActivity = $this->activityQueries->userActivity($user); $recentlyCreated = $this->recentlyCreatedContent->run($user, 5); $assetCounts = $this->contentCounts->run($user); $this->setPageTitle($user->name); return view('users.profile', [ 'user' => $user, 'activity' => $userActivity, 'recentlyCreated' => $recentlyCreated, 'assetCounts' => $assetCounts, ]); } }