app/Http/Controllers/ProductReviewController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $reviews=ProductReview::getAllReview();
        return view('backend.review.index')->with('reviews',$reviews);
    }
public function index ( ) { $ reviews = ProductReview :: getAllReview ( ) ; return view ( 'backend.review.index' ) -> with ( 'reviews' , $ reviews ) ; }
Display a listing of the resource.
Display a listing of the resource .