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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $productRepository = $objectManager->get(ProductRepositoryInterface::class)
 
 $product = $productRepository->get('SKU-3')
 
 $website = $objectManager->create(\Magento\Store\Model\Website::class)
 
 $stock = $objectManager->create(\Magento\ProductAlert\Model\Stock::class)
 

Variable Documentation

◆ $objectManager

Definition at line 10 of file product_alert_eu_website_customer.php.

◆ $product

$product = $productRepository->get('SKU-3')

Definition at line 14 of file product_alert_eu_website_customer.php.

◆ $productRepository

$productRepository = $objectManager->get(ProductRepositoryInterface::class)

Definition at line 13 of file product_alert_eu_website_customer.php.

◆ $stock

$stock = $objectManager->create(\Magento\ProductAlert\Model\Stock::class)

Definition at line 20 of file product_alert_eu_website_customer.php.

◆ $website

$website = $objectManager->create(\Magento\Store\Model\Website::class)

Definition at line 17 of file product_alert_eu_website_customer.php.