Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
wishlist_with_product_qty_increments.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('simple')
 
 $wishlist = $objectManager->create(\Magento\Wishlist\Model\Wishlist::class)
 

Variable Documentation

◆ $objectManager

Definition at line 11 of file wishlist_with_product_qty_increments.php.

◆ $product

$product = $productRepository->get('simple')

Definition at line 16 of file wishlist_with_product_qty_increments.php.

◆ $productRepository

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

Definition at line 14 of file wishlist_with_product_qty_increments.php.

◆ $wishlist

$wishlist = $objectManager->create(\Magento\Wishlist\Model\Wishlist::class)

Definition at line 20 of file wishlist_with_product_qty_increments.php.