Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added index property to Recurrence #110

Merged
merged 4 commits into from
Dec 19, 2016
Merged

Added index property to Recurrence #110

merged 4 commits into from
Dec 19, 2016

Conversation

robinvda
Copy link
Contributor

@robinvda robinvda commented Dec 12, 2016

Added an index property to the Recurrence class, which specifies the index of the occurrence.

Get/set the index using the getter/setter on a Recurrence object: getIndex() and setIndex($int).

Note that passing false as the third parameter of ArrayTransformer's transform method will make the index start at the start of the given constraint.

I noticed this is mentioned in issue 108.

@simshaun simshaun merged commit 699a555 into simshaun:master Dec 19, 2016
@simshaun
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants