Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91346 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97737 invoked from network); 22 Feb 2016 20:19:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2016 20:19:42 -0000 Authentication-Results: pb1.pair.com header.from=kgessner@etsy.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kgessner@etsy.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain etsy.com designates 209.85.192.52 as permitted sender) X-PHP-List-Original-Sender: kgessner@etsy.com X-Host-Fingerprint: 209.85.192.52 mail-qg0-f52.google.com Received: from [209.85.192.52] ([209.85.192.52:35248] helo=mail-qg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/2A-25165-D5D6BC65 for ; Mon, 22 Feb 2016 15:19:42 -0500 Received: by mail-qg0-f52.google.com with SMTP id y89so120579529qge.2 for ; Mon, 22 Feb 2016 12:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=etsy.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=n4/mbLAXslVFYo/wjOY8OqFhFVXRRMrl8yAPmOr3oQ4=; b=h300JB65ldnF1qGi5Xhc4ZItAro7wdZQRFE5HbpDoVWlCx/UtXPI+wYVgP1JxkLqGj 0u+m9PuLW8A3/oqdKekfnm1mDHZA6qNC7ZcZJOYH/XwdU1PD5nvBDeyroR5afELzoIeI kLOYyuP0lRfDJqvpeTC1R0hTpQMWnhsCy89Qw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=n4/mbLAXslVFYo/wjOY8OqFhFVXRRMrl8yAPmOr3oQ4=; b=XyWwA/P1nXHi3pX+6iqnbebt0J0qZoiHC9czlIDzP0Ad6gb4JnKTI7w7nvMV/Ta5Z6 YPfMQfqeM213/M/YRoYOf+KLVKfDxOdZ9WwARRLxyiZIAMJAYfyrRWbFh+mZKRFGl4G3 1uh1v+WbApvzmzIsAOqw9D2l567KqeRMKfL2iZbLT0n5YWxg+lOFQF8RdOAT8VO7EwZr dRdcobokjVBu7XmvMYQd24aoLTQm5pE3alx1/8ZsCiRPvzOXM34g/9RQlRvjQMzMXQ3G j157V6fyB97mlxClON2PW5tDxfKFw9lwILw3K362DX2ulSzP5fOs9CjBeKLX9Ec80ePc 6Q2A== X-Gm-Message-State: AG10YOSF2kYiccBjNY3Zteu8I2YlPrAnkwktGk/9qxbNHzgW5hE2mV9wgpJW1kdBF1l0cs7xRjr2HisrnHYiQ+lr MIME-Version: 1.0 X-Received: by 10.140.86.85 with SMTP id o79mr36570001qgd.3.1456172379254; Mon, 22 Feb 2016 12:19:39 -0800 (PST) Received: by 10.55.165.198 with HTTP; Mon, 22 Feb 2016 12:19:39 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Feb 2016 15:19:39 -0500 Message-ID: To: internals Content-Type: multipart/alternative; boundary=001a11c13e6c65d2b9052c618d0d Subject: Re: [RFC] Traits with interfaces From: kgessner@etsy.com (Kevin Gessner) --001a11c13e6c65d2b9052c618d0d Content-Type: text/plain; charset=UTF-8 On Thu, Feb 18, 2016 at 4:13 PM, Kevin Gessner wrote: > On Wed, Feb 17, 2016 at 2:05 PM, Kevin Gessner wrote: > >> I've created a proper RFC wiki page here with the draft: >> https://wiki.php.net/rfc/traits-with-interfaces >> >> It includes more detail and several example code snippets. Thanks all >> for your feedback so far. >> > > I've just updated the RFC to v0.2, presenting two proposals to be voted > separately: one to allow traits to declare and implement interfaces, and a > second (dependent on the first) to propagate interface declarations from > traits to classes. > I've created a php-src pull request for Proposal 1 of the RFC, allowing traits to declare and implement interfaces: https://github.com/php/php-src/pull/1773 Reviews and feedback welcome! I haven't yet started on an implementation for Proposal 2. Cheers -- Kevin --001a11c13e6c65d2b9052c618d0d--