public function compose($view) { $productTags = Product::getTagCloud(); $view->with(compact('productTags')); }