Recreate getLiterals method for BC

main
Nils Adermann 10 years ago
parent 26598c4a9a
commit 107a736440

@ -161,6 +161,14 @@ class Rule
return !$this->disabled;
}
/**
* @deprecated Use public literals member
*/
public function getLiterals()
{
return $this->literals;
}
public function isAssertion()
{
return 1 === count($this->literals);

Loading…
Cancel
Save