public function edit($id)
    {
        $item = $this->inventory->findOrFail($id);

        $form = $this->presenter->form($item);

        return view('inventory.edit', compact('form'));
    }
public function edit($id)
    {
        $item = $this->inventory->findOrFail($id);

        $form = $this->presenter->form($item);

        return view('inventory.edit', compact('form'));
    }
public function edit ( $ id ) { $ item = $ this -> inventory -> findOrFail ( $ id ) ; $ form = $ this -> presenter -> form ( $ item ) ; return view ( 'inventory.edit' , compact ( 'form' ) ) ; }
Displays the form for editing the specified inventory item.

@param int|string $id

@return \Illuminate\View\View
Displays the form for editing the specified inventory item .