Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
second_website_with_two_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)
 
if(! $website->load('test', 'code') ->getId()) $websiteId = $website->getId()
 
 $store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class)
 
 $indexerRegistry
 

Variable Documentation

◆ $indexerRegistry

$indexerRegistry
Initial value:
->create(\Magento\Framework\Indexer\IndexerRegistry::class)

Definition at line 57 of file second_website_with_two_stores.php.

◆ $store

if (! $store->load( 'fixture_second_store', 'code') ->getId()) $store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class)

Definition at line 13 of file second_website_with_two_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 6 of file second_website_with_two_stores.php.

◆ $websiteId

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

Definition at line 12 of file second_website_with_two_stores.php.