Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() | |
$registry = $objectManager->get(\Magento\Framework\Registry::class) | |
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) | |
$productsToDelete = ['simple', '12345', 'simple-3', 'simple-4'] | |
$collection = $objectManager->create(\Magento\Catalog\Model\ResourceModel\Category\Collection::class) | |
$collection = $objectManager->create(\Magento\Catalog\Model\ResourceModel\Category\Collection::class) |
Definition at line 30 of file categories_rollback.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 7 of file categories_rollback.php.
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) |
Definition at line 16 of file categories_rollback.php.
$productsToDelete = ['simple', '12345', 'simple-3', 'simple-4'] |
Definition at line 17 of file categories_rollback.php.
$registry = $objectManager->get(\Magento\Framework\Registry::class) |
Definition at line 9 of file categories_rollback.php.