Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
bundle_product_with_not_visible_children.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)
 
 $sampleProduct = $productRepository->get('simple_not_visible_1')
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 

Variable Documentation

◆ $objectManager

Definition at line 16 of file bundle_product_with_not_visible_children.php.

◆ $product

Magento Catalog Model Product $product = $objectManager->create(\Magento\Catalog\Model\Product::class)

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

Definition at line 22 of file bundle_product_with_not_visible_children.php.

◆ $productRepository

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

Definition at line 18 of file bundle_product_with_not_visible_children.php.

◆ $sampleProduct

$sampleProduct = $productRepository->get('simple_not_visible_1')

Definition at line 19 of file bundle_product_with_not_visible_children.php.