Model/Apiconnector/Customer.php
public function setReviewCollection()
    {
        $customerId = $this->model->getId();
        $collection = $this->reviewCollection->create()
            ->addCustomerFilter($customerId)
            ->setOrder('review_id', 'DESC');

        $this->reviewCollection = $collection;

        return $this;
    }
public function setReviewCollection()
    {
        $customerId = $this->model->getId();
        $collection = $this->reviewCollection->create()
            ->addCustomerFilter($customerId)
            ->setOrder('review_id', 'DESC');

        $this->reviewCollection = $collection;

        return $this;
    }
public function setReviewCollection ( ) { $ customerId = $ this -> model -> getId ( ) ; $ collection = $ this -> reviewCollection -> create ( ) -> addCustomerFilter ( $ customerId ) -> setOrder ( 'review_id' , 'DESC' ) ; $ this -> reviewCollection = $ collection ; return $ this ; }
Customer reviews.

@return $this
Customer reviews .