Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43210 invoked from network); 3 Jun 2013 19:15:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jun 2013 19:15:11 -0000 Authentication-Results: pb1.pair.com header.from=ww.galen@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ww.galen@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.176 as permitted sender) X-PHP-List-Original-Sender: ww.galen@gmail.com X-Host-Fingerprint: 74.125.82.176 mail-we0-f176.google.com Received: from [74.125.82.176] ([74.125.82.176:40340] helo=mail-we0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/E8-21406-E3BECA15 for ; Mon, 03 Jun 2013 15:15:11 -0400 Received: by mail-we0-f176.google.com with SMTP id t61so2096599wes.35 for ; Mon, 03 Jun 2013 12:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JJalRO5hRjgPjDa/omAla6N0Ny+hp/vKXUdcD6nFzqE=; b=ZGOZcf7cah1YfB3yb41JQh3XBPoGYX9os1xbnekC1L4gg4zA1dILpY3ZdXaJZzQGon U2U8owW9qeWqBa6q0T6XUnKZtHwjiWHM486g1/uH0rqX633FFy5UuklOBgT+MQMbEg8A ST6Iah01DinodddeG07baC0r6lLHmk9drVbH9kySjt/w++AXAm0t1yaVbKKyvck0FqSy im55Xgb2yceFoeBoHChGoFz/+fwEOqQue0r5uTjDbBoIp4lZUa/Khsoh5x2nzWj2oh0B I7oSQcpi13tkHO5KFLrzMj9j2Z3/c2jIUOSZYo9bBypz7N0LfQoCfQBl72KpwJkp9Ivq aMjw== X-Received: by 10.180.14.199 with SMTP id r7mr14158364wic.6.1370286908513; Mon, 03 Jun 2013 12:15:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.155.132 with HTTP; Mon, 3 Jun 2013 12:14:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 Jun 2013 12:14:28 -0700 Message-ID: To: RQuadling@gmail.com Cc: Brandon Wamboldt , Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=f46d04138e5f6c25ef04de44c804 Subject: Re: [PHP-DEV] Random Monday thought. From: ww.galen@gmail.com (Galen Wright-Watson) --f46d04138e5f6c25ef04de44c804 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jun 3, 2013 at 10:30 AM, Richard Quadling wrote: > On 3 June 2013 18:22, Brandon Wamboldt wrote: > > > I think the point was that if somebody wants to extend one another class, > > maybe one of the SPL classes for example, they can't also extend the base > > class with getter/setter support so it's an incomplete solution that will > > frustrate many users. > > [...] > > > Ah. DOH! > > Would having an interface that swapped the default property accessor logic > be any better? > Or a trait ("Accessable", "Accessored", "Accessorable")? Is it possible to have a trait implemented internally? Though it seems that this would still sometimes run afoul of mixing new accessor logic with old. --f46d04138e5f6c25ef04de44c804--