public function end($workOrderId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        return $this->dispatch(new End($workOrder));
    }
public function end($workOrderId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        return $this->dispatch(new End($workOrder));
    }
public function end ( $ workOrderId ) { $ workOrder = $ this -> workOrder -> findOrFail ( $ workOrderId ) ; return $ this -> dispatch ( new End ( $ workOrder ) ) ; }
Ends the current users session for the specified work order.

@param int|string $workOrderId

@return mixed
Ends the current users session for the specified work order .