/** * Implement find($id) */ public function find($id) { // using the Eloquent model return InboundOrder::findOrFail($id); }
/** * Implement findID($id) */ public function findID($id) { // using the Eloquent model $purchaseOrder = InboundOrder::findOrFail($id); return $this->findAdditional($purchaseOrder); }