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

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

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

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

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

@param int|string $id

@return \Illuminate\View\View
Displays the form for editing the specified work order .