You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Just like PHP's
DateTime
andDateTimeImmutable
implement theDateTimeInterface
interface, ICanBoogie'sDateTime
andMutableDateTime
should implement an interface.Because we don't like the
Interface
suffix, and because we don't want to renameDateTime
asImmutableDateTime
(although it would be more accurate), the interface should be defined asICanBoogie\Contract\DateTime
.The text was updated successfully, but these errors were encountered: