1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-02-26 15:54:14 +01:00

Comments and coding style

This commit is contained in:
rlanvin 2016-08-31 15:35:01 +03:00
parent 8b5ccbd330
commit 30a3dad32a

View File

@ -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. * Magic string converter.
* *
@ -2574,8 +2584,4 @@ class RRule implements RRuleInterface
$str = implode('',$parts); $str = implode('',$parts);
return $str; return $str;
} }
public function getRule() {
return $this->rule;
}
} }