Re: [RFC] Traits with interfaces

From: Date: Mon, 22 Feb 2016 20:19:39 +0000
Subject: Re: [RFC] Traits with interfaces
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-91346@lists.php.net to get a copy of this message
On Thu, Feb 18, 2016 at 4:13 PM, Kevin Gessner <kgessner@etsy.com> wrote: > On Wed, Feb 17, 2016 at 2:05 PM, Kevin Gessner <kgessner@etsy.com> 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

« previous php.internals (#91346) next »