/** * Bind data to the view. * * @param View $view * @return void */ public function compose(View $view) { $view->with('topTenArticles', $this->article->topTenTitles()); $view->with('tenRecentArticles', $this->article->tenRecentTitles()); }