On Thu, Feb 18, 2016 at 4:13 PM, Kevin Gessner <kgess...@etsy.com> wrote:
> On Wed, Feb 17, 2016 at 2:05 PM, Kevin Gessner <kgess...@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