1
0
Fork 0

Add back ruleById function for BC

pull/3481/head
Nils Adermann 2014-12-01 19:11:02 +01:00
parent 2c43a3bcd0
commit 6f41e99fe2
1 changed files with 5 additions and 0 deletions

View File

@ -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;