Re: DateTimeImmutable

From: Date: Wed, 27 Mar 2013 13:14:28 +0000
Subject: Re: DateTimeImmutable
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-66832@lists.php.net to get a copy of this message
On Wed, Mar 27, 2013 at 1:49 PM, Andreas Heigl <andreas@heigl.org> wrote: > Am 27.03.13 13:41, schrieb Jordi Boggiano: >> On 27.03.2013 13:18, Lars Strojny wrote: >>> Not really, as an interface guarantees behavior, which is not possible for >>> DateTimeImmutable and DateTime. >> >> The interface could be a subset of DateTime public methods, including >> only the readonly ones. >> >> I can't imagine how this could possibly be named in a sane way though :/ > > DateTimeInterface or DateTimeROInterface? I'd to re post Lars suggestion from another thread. Do a RFC. This is going again in all possible directions and I fear that we will not get a good solution at the end of the day. Cheers, -- Pierre @pierrejoye

« previous php.internals (#66832) next »