Model/OrderPaymentCommentList.php
protected function getDbGateway()
    {
        if (is_null($this->dbGateway)) {
            $this->setDbGateway(oxNew(\OxidEsales\PayPalModule\Model\DbGateways\OrderPaymentCommentDbGateway::class));
        }

        return $this->dbGateway;
    }
protected function getDbGateway()
    {
        if (is_null($this->dbGateway)) {
            $this->setDbGateway(oxNew(\OxidEsales\PayPalModule\Model\DbGateways\OrderPaymentCommentDbGateway::class));
        }

        return $this->dbGateway;
    }
protected function getDbGateway ( ) { if ( is_null ( $ this -> dbGateway ) ) { $ this -> setDbGateway ( oxNew ( \ OxidEsales \ PayPalModule \ Model \ DbGateways \ OrderPaymentCommentDbGateway :: class ) ) ; } return $ this -> dbGateway ; }
Returns DB gateway. If it's not set- creates object and sets.

@return oePayPalPayPalDbGateway
Returns DB gateway . If it s not set - creates object and sets .