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

Go to the source code of this file.

Variables

 $registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class)
 
 $website = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Website::class)
 
 $websiteId = $website->load('secondwebsite', 'code')->getId()
 
if($websiteId) $store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class)
 

Variable Documentation

◆ $registry

$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class)

Definition at line 9 of file core_second_third_fixturestore_rollback.php.

◆ $store

if ( $websiteId) $store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class)

Definition at line 20 of file core_second_third_fixturestore_rollback.php.

◆ $website

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

Definition at line 14 of file core_second_third_fixturestore_rollback.php.

◆ $websiteId

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

Definition at line 16 of file core_second_third_fixturestore_rollback.php.