/** * {@inheritdoc} */ public function removeRule(RuleInterface $rule) { $rule->setMethod(null); $this->rules->removeElement($rule); }
/** * {@inheritdoc} */ public function removeRule(RuleInterface $rule) { $rule->setPromotion(null); $this->rules->removeElement($rule); return $this; }