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

Go to the source code of this file.

Variables

 $factory
 
 $repository
 
 $storeManager
 
 $store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class)
 
 $newCategory = $factory->create()
 
 $currentStoreId = $storeManager->getStore()->getId()
 

Variable Documentation

◆ $currentStoreId

$currentStoreId = $storeManager->getStore()->getId()

Definition at line 59 of file category_multiple_stores.php.

◆ $factory

$factory
Initial value:

Definition at line 10 of file category_multiple_stores.php.

◆ $newCategory

$newCategory = $factory->create()

Definition at line 48 of file category_multiple_stores.php.

◆ $repository

$repository
Initial value:

Definition at line 14 of file category_multiple_stores.php.

◆ $store

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

Definition at line 22 of file category_multiple_stores.php.

◆ $storeManager

$storeManager
Initial value:
\Magento\Store\Model\StoreManagerInterface::class
)

Definition at line 18 of file category_multiple_stores.php.