Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = Bootstrap::getObjectManager() | |
$productFactory = $objectManager->create(ProductFactory::class) | |
$productRepository = $objectManager->create(ProductRepositoryInterface::class) | |
$productsAmount = 10 | |
$objectManager = Bootstrap::getObjectManager() |
Definition at line 13 of file few_simple_products.php.
$productFactory = $objectManager->create(ProductFactory::class) |
Definition at line 16 of file few_simple_products.php.
$productRepository = $objectManager->create(ProductRepositoryInterface::class) |
Definition at line 19 of file few_simple_products.php.
$productsAmount = 10 |
Definition at line 22 of file few_simple_products.php.