DDC-1320: Ship Immutable date time with Doctrine Common, use in ORM - Should implement __toString() #1656

Closed
opened 2026-01-22 13:21:20 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 6, 2011).

Jira issue originally created by user @beberlei:

Originally created by @doctrinebot on GitHub (Aug 6, 2011). Jira issue originally created by user @beberlei:
admin added the ImprovementWon't Fix labels 2026-01-22 13:21:20 +01:00
admin closed this issue 2026-01-22 13:21:20 +01:00
Author
Owner
@doctrinebot commented on GitHub (Aug 6, 2011): - depends on [DDC-1316: Insert statement for joined subclass presister doesn't type change the id values for subtables](http://www.doctrine-project.org/jira/browse/DDC-1316)
Author
Owner

@doctrinebot commented on GitHub (Oct 31, 2011):

Comment created by @beberlei:

Has to be pushed back as immutable date time cannot be implemented in userland that well.

@doctrinebot commented on GitHub (Oct 31, 2011): Comment created by @beberlei: Has to be pushed back as immutable date time cannot be implemented in userland that well.
Author
Owner

@Majkl578 commented on GitHub (Sep 11, 2017):

PHP now implements DateTimeImmutable natively (without __toString() which could be ambiguous anyway) and Doctrine has native type support as of 2.6.

@Majkl578 commented on GitHub (Sep 11, 2017): PHP now implements DateTimeImmutable natively (without __toString() which could be ambiguous anyway) and Doctrine has native type support as of 2.6.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1656