public function compose(View $view) { $cartProducts = Session::get('cart'); $view->with('cartProducts', $cartProducts); }