app/Http/Controllers/PostCommentController.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()
    {
        $comments=PostComment::getAllComments();
        return view('backend.comment.index')->with('comments',$comments);
    }
public function index ( ) { $ comments = PostComment :: getAllComments ( ) ; return view ( 'backend.comment.index' ) -> with ( 'comments' , $ comments ) ; }
Display a listing of the resource.
Display a listing of the resource .