app/Http/Controllers/Backend/BackendPostController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $all_categories = $this->postRepository->loadCategories();
        return view('backend.posts.create', compact('all_categories'));
    }
public function create ( ) { $ all_categories = $ this -> postRepository -> loadCategories ( ) ; return view ( 'backend.posts.create' , compact ( 'all_categories' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .