src/widgets/PayButtonComment.php
protected function renderComment()
    {
        $merchant = $this->getMerchantName();

        if (($view = $this->getCommentView($merchant)) === null) {
            return '';
        }

        return $this->render($view, [
            'merchant' => $merchant,
            'widget' => $this,
            'event' => $this->event,
        ]);
    }
protected function renderComment()
    {
        $merchant = $this->getMerchantName();

        if (($view = $this->getCommentView($merchant)) === null) {
            return '';
        }

        return $this->render($view, [
            'merchant' => $merchant,
            'widget' => $this,
            'event' => $this->event,
        ]);
    }
protected function renderComment ( ) { $ merchant = $ this -> getMerchantName ( ) ; if ( ( $ view = $ this -> getCommentView ( $ merchant ) ) === null ) { return '' ; } return $ this -> render ( $ view , [ 'merchant' => $ merchant , 'widget' => $ this , 'event' => $ this -> event , ] ) ; }
Method renders comment from the view, specified in.
@return string
Method renders comment from the view specified in .