Add back ruleById function for BC
parent
2c43a3bcd0
commit
6f41e99fe2
|
@ -82,6 +82,11 @@ class RuleSet implements \IteratorAggregate, \Countable
|
||||||
return $this->nextRuleId;
|
return $this->nextRuleId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function ruleById($id)
|
||||||
|
{
|
||||||
|
return $this->ruleById[$id];
|
||||||
|
}
|
||||||
|
|
||||||
public function getRules()
|
public function getRules()
|
||||||
{
|
{
|
||||||
return $this->rules;
|
return $this->rules;
|
||||||
|
|
Loading…
Reference in New Issue