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

Go to the source code of this file.

Variables

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

Variable Documentation

◆ $catalogRuleRepository

$catalogRuleRepository = Bootstrap::getObjectManager()->get(CatalogRuleRepositoryInterface::class)

Definition at line 44 of file rule_by_category_ids.php.

◆ $rule

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

Definition at line 13 of file rule_by_category_ids.php.