Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
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) | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 9 of file review_xss.php.
$product = $productRepository->get('product-with-xss') |
Definition at line 11 of file review_xss.php.
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) |
Definition at line 10 of file review_xss.php.
$review = $objectManager->create(\Magento\Review\Model\Review::class) |
Definition at line 13 of file review_xss.php.