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() | |
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) | |
$sampleProduct = $productRepository->get('simple') | |
$product = $objectManager->create(\Magento\Catalog\Model\Product::class) | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Definition at line 15 of file product_1.php.
$product = $objectManager->create(\Magento\Catalog\Model\Product::class) |
Definition at line 21 of file product_1.php.
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) |
Definition at line 17 of file product_1.php.
$sampleProduct = $productRepository->get('simple') |
Definition at line 18 of file product_1.php.