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

Add an interface to implement by DateTime and MutableDateTime #13

Closed
olvlvl opened this issue Aug 24, 2016 · 0 comments
Closed

Add an interface to implement by DateTime and MutableDateTime #13

olvlvl opened this issue Aug 24, 2016 · 0 comments
Milestone

Comments

@olvlvl
Copy link
Member

olvlvl commented Aug 24, 2016

Just like PHP's DateTime and DateTimeImmutable implement the DateTimeInterface interface, ICanBoogie's DateTime and MutableDateTime should implement an interface.

Because we don't like the Interface suffix, and because we don't want to rename DateTime as ImmutableDateTime (although it would be more accurate), the interface should be defined as ICanBoogie\Contract\DateTime.

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

No branches or pull requests

1 participant