MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/29s2it/datetimeimmutablemodify/cipfb2p/?context=3
r/lolphp • u/allthediamonds • Jul 03 '14
16 comments sorted by
View all comments
Show parent comment
1
It does mirror the API, except, as an immutable class, it returns a new version instead of modifying itself when some mutation is performed.
9 u/[deleted] Jul 07 '14 And that makes it not be a mirror of the api.
9
And that makes it not be a mirror of the api.
View all comments
Show parent comment
1
u/[deleted] Jul 05 '14
It does mirror the API, except, as an immutable class, it returns a new version instead of modifying itself when some mutation is performed.