Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
review_xss.php File Reference

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)
 
 $product = $productRepository->get('product-with-xss')
 
 $review = $objectManager->create(\Magento\Review\Model\Review::class)
 

Variable Documentation

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 9 of file review_xss.php.

◆ $product

$product = $productRepository->get('product-with-xss')

Definition at line 11 of file review_xss.php.

◆ $productRepository

$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)

Definition at line 10 of file review_xss.php.

◆ $review

$review = $objectManager->create(\Magento\Review\Model\Review::class)

Definition at line 13 of file review_xss.php.