Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37501 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40964 invoked from network); 6 May 2008 19:21:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2008 19:21:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:44152] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/E6-03521-CAFA0284 for ; Tue, 06 May 2008 15:21:17 -0400 Received: from [192.168.0.100] (xdsl-87-78-210-248.netcologne.de [::ffff:87.78.210.248]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Tue, 06 May 2008 21:21:13 +0200 id 000000000000C07F.000000004820AFA9.00004D15 To: Jeff Moore Cc: Marcus Boerger , "John Carter -X (johncart - PolicyApp Ltd at Cisco)" , Derick Rethans , internals@lists.php.net In-Reply-To: <912CE6DE-22D0-43E6-BB6B-6154980050E5@procata.com> References: <48169695.9040803@omegavortex.net> <339714303.20080429114607@marcus-boerger.de> <7dd2dc0b0804290817v3d8de030y1208a88f78c44411@mail.gmail.com> <862660524.20080506162159@marcus-boerger.de> <912CE6DE-22D0-43E6-BB6B-6154980050E5@procata.com> Date: Tue, 06 May 2008 21:21:12 +0200 Message-ID: <1210101672.3952.4.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-19733-1210101674-0001-2" X-Mailer: Evolution 2.22.0 Subject: Re: [PHP-DEV] Class Properties in Interfaces? From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-19733-1210101674-0001-2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Marcus, et al., Am Dienstag, den 06.05.2008, 09:09 -0700 schrieb Jeff Moore: [...] > I think this is really specifying implementation details in an =20 > interface: I agree. [...] > This looks to me like the best way to handle this in interfaces: >=20 > > interface Coord { > > abstract $coord; > > } I think this is too unspecific. At least the visibility, setter and/or getter and type-hint (assuming we will have type hints) should be defined. Otherwise defining properties in interfaces become useless as it does not tell somebody more except "there is a property". interface Something { public $property { string public function get(); string protected function set(string $value); } } Just my 2=C2=A2 cu, Lars --=_milch.schokokeks.org-19733-1210101674-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJIIK+hAAoJECQPF+sCY6wH99UQAJfh88Fo6xPLrBs8H+EhBAKU s+baF0YwjOadULJ4ueCLcmHGcb0BxXJJIITW19HVjF9iN5zPSfWzSjIgpfJ3AozD cWFngUhzDmbum3/oP0A7wpF+cCK2oes+TDbGvIvjqRkALuCKaWgh0C5ABXsrp+6i 5QBMAfOYzcDLeX1A8+6517wW4SHzqu8kdP5OvEwHGFcvr7kr8tfhMgt0Y578telm Ciyn3pCev21EK4V+7GqbvEvFJZKnEslokxMY1HNNKJ/kB8Iqe69RBoxUWckDqCx1 cTztPV9ssReFZ823IT0R1k17IiY6+9ArKVwKPa9SI+Z9m2PXAUd4VKCFrYNYYJVS TIznLktPjdw3yBqI7g5wxn9Xlxb7pkU966iVQnaENFQ5FLtq46/LqqZXwosMdXd7 n7R31LUr5cu5HjBFQ+2vp3ipFJJEQw8rYwWWhTP+S99tmfthK0AWsPG6SCpdAvC9 fepqTzaZkdcYhFB3I/YhM38bzhxf7hFWuvJQjFjbN5Ox1Os+AzWRxtVVGC50gL4v JYA+6D+JzInDyj9H/S0umJRtGIyDrCrx9oH+xDNXhqTeRbqxbh/+C67/eu5WzpHC B+N83JMprQQeH5A9OZXBHwnWpPcMVFcGc2Q3QeZ32UmRPNUw4AaBJJLFB/Dcf3vH IaOg2uWmC0mIPin0V9Po =0e4y -----END PGP SIGNATURE----- --=_milch.schokokeks.org-19733-1210101674-0001-2--