From 5fbd1bf78ca5575ccfa78e3f4761f51a06198fa8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 28 Aug 2016 17:51:58 +0100 Subject: [PATCH] Add getRule() method to return original rule array --- src/RRule.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/RRule.php b/src/RRule.php index 5e3aaea..9b1aa33 100755 --- a/src/RRule.php +++ b/src/RRule.php @@ -2574,4 +2574,8 @@ class RRule implements RRuleInterface $str = implode('',$parts); return $str; } + + public function getRule() { + return $this->rule; + } }