Model/Customer/Review.php
public function setReviewData(\Magento\Review\Model\Review $review)
    {
        $store = $this->storeManager->getStore($review->getStoreId());
        $websiteName = $store->getWebsite()->getName();
        $storeName = $store->getName();
        $this->setId($review->getReviewId())
            ->setWebsiteName($websiteName)
            ->setStoreName($storeName)
            ->setReviewDate($review->getCreatedAt())
            ->setCustomerId($review->getCustomerId())
            ->setEmail($review->getEmail());

        return $this;
    }
public function setReviewData(\Magento\Review\Model\Review $review)
    {
        $store = $this->storeManager->getStore($review->getStoreId());
        $websiteName = $store->getWebsite()->getName();
        $storeName = $store->getName();
        $this->setId($review->getReviewId())
            ->setWebsiteName($websiteName)
            ->setStoreName($storeName)
            ->setReviewDate($review->getCreatedAt())
            ->setCustomerId($review->getCustomerId())
            ->setEmail($review->getEmail());

        return $this;
    }
public function setReviewData ( \ Magento \ Review \ Model \ Review $ review ) { $ store = $ this -> storeManager -> getStore ( $ review -> getStoreId ( ) ) ; $ websiteName = $ store -> getWebsite ( ) -> getName ( ) ; $ storeName = $ store -> getName ( ) ; $ this -> setId ( $ review -> getReviewId ( ) ) -> setWebsiteName ( $ websiteName ) -> setStoreName ( $ storeName ) -> setReviewDate ( $ review -> getCreatedAt ( ) ) -> setCustomerId ( $ review -> getCustomerId ( ) ) -> setEmail ( $ review -> getEmail ( ) ) ; return $ this ; }
Set review data.

@param \Magento\Review\Model\Review $review
@return $this
Set review data .