Re: DateTimeImmutable

From: Date: Wed, 27 Mar 2013 12:49:17 +0000
Subject: Re: DateTimeImmutable
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-66831@lists.php.net to get a copy of this message
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? Cheers > > Cheers > -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | http://andreas.heigl.org http://hei.gl/wiFKy7 | +---------------------------------------------------------------------+ | http://hei.gl/root-ca | +---------------------------------------------------------------------+

Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s
« previous php.internals (#66831) next »