note 115315 deleted from datetimeimmutable.modify by salathe

From: Date: Fri, 04 Jul 2014 08:03:15 +0000
Subject: note 115315 deleted from datetimeimmutable.modify by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-199841@lists.php.net to get a copy of this message
Note Submitter: dz at heroku dot com ---- It's called modify() for compatibility with the DateTime interface. The whole point of the class is that it's a drop-in replacement for DateTime, and giving the method a different name would defeat that purpose.

« previous php.notes (#199841) next »