diff --git a/src/RRule.php b/src/RRule.php index 9b1aa33..4827cf7 100755 --- a/src/RRule.php +++ b/src/RRule.php @@ -524,6 +524,16 @@ class RRule implements RRuleInterface } } + /** + * Return the internal rule array, as it was passed to the constructor. + * + * @return array + */ + public function getRule() + { + return $this->rule; + } + /** * Magic string converter. * @@ -2574,8 +2584,4 @@ class RRule implements RRuleInterface $str = implode('',$parts); return $str; } - - public function getRule() { - return $this->rule; - } }