App\Http\Controllers\ClientsController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Response
$id integer
return Response
    public function edit($id)
    {
        return view('clients.edit')->withClient($this->clients->find($id))->withUsers($this->users->getAllUsersWithDepartments())->withIndustries($this->clients->listAllIndustries());
    }