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

Update Yasumi::create to allow for the instantiation of external holiday providers #29

Merged
merged 1 commit into from
Nov 22, 2016

Conversation

navarr
Copy link
Contributor

@navarr navarr commented May 4, 2016

I thought it was kind of silly that Yasumi can only load it's own holiday providers (using Yasumi::create), so I wrote this update that allows it to instantiate external ones.

External Holiday providers must be an instance of ProviderInterface.

@stelgenhof
Copy link
Member

Nice one! Could you perhaps provide/write an example how to use it? We can then use it in the documentation somewhere... :)

@stelgenhof stelgenhof self-assigned this Nov 22, 2016
@stelgenhof stelgenhof added this to the v1.5.0 milestone Nov 22, 2016
@stelgenhof stelgenhof merged commit e930166 into azuyalabs:master Nov 22, 2016
@navarr navarr deleted the external-providers branch November 22, 2016 02:14
stelgenhof added a commit that referenced this pull request Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants