Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
All Data Structures Namespaces Files Functions Variables Pages
Variables
customer_review_with_rating.php File Reference

Go to the source code of this file.

Variables

 $storeId
 
 $review
 
 $ratingCollection
 

Variable Documentation

◆ $ratingCollection

$ratingCollection
Initial value:
\Magento\Review\Model\Rating::class
)->getCollection()
->setPageSize(2)
->setCurPage(1)

Definition at line 42 of file customer_review_with_rating.php.

◆ $review

$review
Initial value:
\Magento\Review\Model\Review::class,
['data' => [
'customer_id' => $customer->getId(),
'title' => 'Review Summary',
'detail' => 'Review text',
'nickname' => 'Nickname',
]]
)
$customer
Definition: customers.php:11

Definition at line 18 of file customer_review_with_rating.php.

◆ $storeId

$storeId
Initial value:
\Magento\Store\Model\StoreManagerInterface::class
)->getStore()->getId()

Definition at line 14 of file customer_review_with_rating.php.