doctrine / doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications
https://www.doctrine-project.org/projects/doctrine-laminas-hydrator.html
MIT License
33 stars 19 forks source link

Add support for time_immutable and date_immutable #69

Closed dkmuir closed 1 year ago

dkmuir commented 1 year ago

I'm trying to transition to using DateTimeImmutable, but getting stuck because DoctrineObject is missing support for date_immutable and time_immutable. Would be great to have support added. https://github.com/doctrine/doctrine-laminas-hydrator/blob/c8b6c2a85315b6742e569c477ee354dbfcfa6e74/src/DoctrineObject.php#L650