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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $installer = $objectManager->create(\Magento\Catalog\Setup\CategorySetup::class)
 
 $eavRepository = $objectManager->get(\Magento\Eav\Api\AttributeRepositoryInterface::class)
 
 try
 

Variable Documentation

◆ $eavRepository

$eavRepository = $objectManager->get(\Magento\Eav\Api\AttributeRepositoryInterface::class)

Definition at line 13 of file attribute_rollback.php.

◆ $installer

$installer = $objectManager->create(\Magento\Catalog\Setup\CategorySetup::class)

Definition at line 10 of file attribute_rollback.php.

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 7 of file attribute_rollback.php.

◆ try

try
Initial value:
{
$attribute = $eavRepository->get($installer->getEntityTypeId('catalog_product'), 'test_attribute')
$eavRepository

Definition at line 15 of file attribute_rollback.php.