Observer/Customer/ReviewSaveAutomation.php
private function registerReview($review)
    {
        try {
            $reviewModel = $this->reviewFactory->create();
            $reviewModel->setReviewId($review->getReviewId())
                ->setCustomerId($review->getCustomerId())
                ->setStoreId($review->getStoreId());
            $this->reviewResource->save($reviewModel);
        } catch (\Exception $e) {
            $this->helper->debug((string)$e, []);
        }
    }
private function registerReview($review)
    {
        try {
            $reviewModel = $this->reviewFactory->create();
            $reviewModel->setReviewId($review->getReviewId())
                ->setCustomerId($review->getCustomerId())
                ->setStoreId($review->getStoreId());
            $this->reviewResource->save($reviewModel);
        } catch (\Exception $e) {
            $this->helper->debug((string)$e, []);
        }
    }
private function registerReview ( $ review ) { try { $ reviewModel = $ this -> reviewFactory -> create ( ) ; $ reviewModel -> setReviewId ( $ review -> getReviewId ( ) ) -> setCustomerId ( $ review -> getCustomerId ( ) ) -> setStoreId ( $ review -> getStoreId ( ) ) ; $ this -> reviewResource -> save ( $ reviewModel ) ; } catch ( \ Exception $ e ) { $ this -> helper -> debug ( ( string ) $ e , [ ] ) ; } }
Register review.

@param mixed $review

@return null
Register review .