app/Http/Controllers/Blog/Admin/PostController.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()
    {
        $pagination = $this->blogPostRepository->getAllWithPaginate(25);
        return view('blog.admin.posts.index', compact('pagination'));
    }
public function index ( ) { $ pagination = $ this -> blogPostRepository -> getAllWithPaginate ( 25 ) ; return view ( 'blog.admin.posts.index' , compact ( 'pagination' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .