/** * @param ChildCreditPayment $creditPayment The ChildCreditPayment object to add. */ protected function doAddCreditPayment(ChildCreditPayment $creditPayment) { $this->collCreditPayments[] = $creditPayment; $creditPayment->setCashier($this); }