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

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $installer = $objectManager->create(CategorySetup::class)
 
 $storeManager = $objectManager->get(StoreManagerInterface::class)
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 
 $productRepository = $objectManager->get(ProductRepositoryInterface::class)
 

Variable Documentation

◆ $installer

$installer = $objectManager->create(CategorySetup::class)

Definition at line 19 of file product_rewrite_multistore.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 18 of file product_rewrite_multistore.php.

◆ $product

$product = $objectManager->create(\Magento\Catalog\Model\Product::class)

Definition at line 24 of file product_rewrite_multistore.php.

◆ $productRepository

$productRepository = $objectManager->get(ProductRepositoryInterface::class)

Definition at line 39 of file product_rewrite_multistore.php.

◆ $storeManager

$storeManager = $objectManager->get(StoreManagerInterface::class)

Definition at line 20 of file product_rewrite_multistore.php.