Re: [RFC] Traits with interfaces

From: Date: Thu, 18 Feb 2016 21:13:55 +0000
Subject: Re: [RFC] Traits with interfaces
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-91286@lists.php.net to get a copy of this message
On Wed, Feb 17, 2016 at 2:05 PM, Kevin Gessner <kgessner@etsy.com> wrote: > On Wed, Feb 17, 2016 at 9:25 AM, Kevin Gessner <kgessner@etsy.com> wrote: > >> Hello internals team! I'd like to propose an RFC to allow traits to >> implement interfaces. >> > > 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'd appreciate any additional feedback on this new version! Cheers -- Kevin

« previous php.internals (#91286) next »