App\Http\Controllers\UsersController::edit PHP Méthode

edit() public méthode

Show the form for editing the specified resource.
public edit ( integer $id ) : Response
$id integer
Résultat Response
    public function edit($id)
    {
        return view('users.edit')->withUser($this->users->find($id))->withRoles($this->roles->listAllRoles())->withDepartments($this->departments->listAllDepartments());
    }