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

Go to the source code of this file.

Variables

 $rule = Bootstrap::getObjectManager()->get(\Magento\CatalogRule\Model\RuleFactory::class)->create()
 

Variable Documentation

◆ $rule

$rule = Bootstrap::getObjectManager()->get(\Magento\CatalogRule\Model\RuleFactory::class)->create()

Definition at line 10 of file rule_by_attribute.php.