App\Http\Controllers\Backend\EventController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response
    public function edit($id)
    {
        $data = $this->repository->find($id);
        return view('backend.event.edit', ['event' => $data]);
    }