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

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $website = $objectManager->create(Website::class)
 
if(! $website->getId()) $websiteId = $website->getId()
 
 $store = $objectManager->create(Store::class)
 
if(! $store->getId()) $configResource = $objectManager->get(\Magento\Config\Model\ResourceModel\Config::class)
 
 $indexerRegistry = $objectManager->create(\Magento\Framework\Indexer\IndexerRegistry::class)
 

Variable Documentation

◆ $configResource

if (! $store->getId()) $configResource = $objectManager->get(\Magento\Config\Model\ResourceModel\Config::class)

Definition at line 48 of file websites_different_countries.php.

◆ $indexerRegistry

$indexerRegistry = $objectManager->create(\Magento\Framework\Indexer\IndexerRegistry::class)

Definition at line 66 of file websites_different_countries.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 14 of file websites_different_countries.php.

◆ $store

$store = $objectManager->create(Store::class)

Definition at line 31 of file websites_different_countries.php.

◆ $website

$website = $objectManager->create(Website::class)

Definition at line 17 of file websites_different_countries.php.

◆ $websiteId

if (! $website->getId()) $websiteId = $website->getId()

Definition at line 30 of file websites_different_countries.php.