src/Model/Payment.php
public function addPaymentLine(PaymentLine $paymentLine): self
    {
        $paymentLine->setPayment($this);
        $this->paymentLines[] = $paymentLine;

        return $this;
    }
public function addPaymentLine(PaymentLine $paymentLine): self
    {
        $paymentLine->setPayment($this);
        $this->paymentLines[] = $paymentLine;

        return $this;
    }
public function addPaymentLine ( PaymentLine $ paymentLine ) : self { $ paymentLine -> setPayment ( $ this ) ; $ this -> paymentLines [ ] = $ paymentLine ; return $ this ; }
@param PaymentLine $paymentLine

@return Payment
@param PaymentLine $paymentLine