/** * Delete a document purchase record from the database for the given Purchase object. * * @param \Application\Model\Purchase $oPurchase */ public function delete(Purchase $oPurchase) { $this->oTableGateway->delete(array(Purchase::ID => $oPurchase->getId())); }