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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $registry = $objectManager->get(\Magento\Framework\Registry::class)
 
 $salesRule = $objectManager->create(\Magento\SalesRule\Model\Rule::class)
 

Variable Documentation

◆ $objectManager

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

Definition at line 7 of file cart_rule_50_percent_off.php.

◆ $registry

$registry = $objectManager->get(\Magento\Framework\Registry::class)

Definition at line 9 of file cart_rule_50_percent_off.php.

◆ $salesRule

$salesRule = $objectManager->create(\Magento\SalesRule\Model\Rule::class)

Definition at line 12 of file cart_rule_50_percent_off.php.