app/Http/Controllers/UserController.php
/**
     * Show the form for creating a new user.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new user.
@return \Illuminate\Http\Response
Show the form for creating a new user . @return \ Illuminate \ Http \ Response
public function create()
    {
        $roles = Role::pluck('title', 'id')->all();
        return view('panel.users.create', compact('roles'));
    }
public function create ( ) { $ roles = Role :: pluck ( 'title' , 'id' ) -> all ( ) ; return view ( 'panel.users.create' , compact ( 'roles' ) ) ; }
Show the form for creating a new user.
Show the form for creating a new user .