public function index() { $Category = new Category(); return view('home')->withCategories($Category->formedCategories()); }