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

Go to the source code of this file.

Variables

 $website = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Website::class)
 
 $websiteId = $website->load('test', 'code')->getId()
 
 $product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class)
 

Variable Documentation

◆ $product

$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class)

Definition at line 14 of file products_with_websites_and_stores.php.

◆ $website

$website = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Website::class)

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

Definition at line 9 of file products_with_websites_and_stores.php.

◆ $websiteId

$websiteId = $website->load('test', 'code')->getId()

Definition at line 11 of file products_with_websites_and_stores.php.