1
0
Fork 0

Recreate getLiterals method for BC

pull/3481/head
Nils Adermann 2014-12-01 19:04:35 +01:00
parent 26598c4a9a
commit 107a736440
1 changed files with 8 additions and 0 deletions

View File

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