Re: Re: [VOTE] Interface Default Methods
| From: | Robert Landers | Date: | Tue, 11 Jul 2023 19:45:12 +0000 |
| Subject: | Re: Re: [VOTE] Interface Default Methods | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120783@lists.php.net to get a copy of this message | ||
On Tue, Jul 11, 2023 at 9:04 PM Peter Kokot <petk@php.net> wrote:
> On Tue, 11 Jul 2023 at 13:37, Levi Morrison <morrison.levi@gmail.com>
> wrote:
> >
> > On Sun, Jul 2, 2023 at 6:11 PM Levi Morrison <morrison.levi@gmail.com>
> wrote:
> > >
> > > Chatter on the [Interface Default Methods RFC][1] has been quiet for
> > > the past 6 days, and the feature freeze deadline is fast approaching
> > > for PHP 8.3, so I'm moving this to vote. It'll be open for two weeks
> > > as usual.
> > >
> > > Thanks to everyone who discussed weaknesses in the RFC during the
> > > discussion phase.
> > >
> > > [1]:
> > > https://wiki.php.net/rfc/interface-default-methods
> >
> > The voting period is about half-way through. For your information,
> > it's currently sitting at 10 yes and 13 no votes. Thanks to everyone
> > who has voted so far.
>
> I really liked this idea actually but I'm still not so sure about it,
> what would be the "right" approach. Just one question though. With
> this, also the protected methods would be possible to define in the
> interface? And what about the properties? Properties would be part of
> some other RFC?
It doesn't say they can't be used, so I assume we'll be able to use traits
in interfaces as well.