Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2417

Add UTCDateTimeInterface::toDateTimeImmutable

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • PHP Drivers

      The method UTCDateTime::toDateTimeImmutable was added by PHPC-2286.

      Adding a method to an existing interface is a breaking change, it cannot be added before 2.0.

      The interface UTCDateTimeInterface already have `toDateTime`. Adding toDateTimeImmutable for consistency.

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: