original_string: public function edit(Request $request, Product $itemgroup)
  	{
  		$listing = $this->products->filter($request->all());
  
  		return view('dashboard.sections.products.grouping.edit', [
  			'getQueryString' => trim($request->getQueryString()) != '' ? $request->getQueryString() . '&' : '',
  			'filters' => Parsers\Filters::parse($listing->get()),
  			'groupingIds' => $itemgroup->group->pluck('id'),
  			'listing' => $listing->paginate(25),
  			'product' => $itemgroup,
  		]);
  	}
code: public function edit(Request $request, Product $itemgroup)
  	{
  		$listing = $this->products->filter($request->all());
  
  		return view('dashboard.sections.products.grouping.edit', [
  			'getQueryString' => trim($request->getQueryString()) != '' ? $request->getQueryString() . '&' : '',
  			'filters' => Parsers\Filters::parse($listing->get()),
  			'groupingIds' => $itemgroup->group->pluck('id'),
  			'listing' => $listing->paginate(25),
  			'product' => $itemgroup,
  		]);
  	}
code_tokens: public function edit ( Request $ request , Product $ itemgroup ) { $ listing = $ this -> products -> filter ( $ request -> all ( ) ) ; return view ( 'dashboard.sections.products.grouping.edit' , [ 'getQueryString' => trim ( $ request -> getQueryString ( ) ) != '' ? $ request -> getQueryString ( ) . '&' : '' , 'filters' => Parsers \ Filters :: parse ( $ listing -> get ( ) ) , 'groupingIds' => $ itemgroup -> group -> pluck ( 'id' ) , 'listing' => $ listing -> paginate ( 25 ) , 'product' => $ itemgroup , ] ) ; }
docstring: Edits the given product grouping.
  
  @param  Request $request
  @param  Product $itemgroup
  
  @return void
docstring_tokens: Edits the given product grouping .