Re: RFC [Concept] - Interface Properties
| From: | Lynn | Date: | Sun, 28 May 2023 07:22:24 +0000 |
| Subject: | Re: RFC [Concept] - Interface Properties | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120412@lists.php.net to get a copy of this message | ||
On Sun, May 28, 2023 at 9:18 AM Nick Humphries <nick@luminate.one> wrote:
> > I don't want to get into a debate about principles of OOP and design
> > practices, this list isn't the place for it. I don't want to sidetrack
> the
> > discussion. I suppose what an interface should conceptually be in PHP is
> > necessarily relevant to whether or not one supports this proposal,
> though.
>
> Agreed, I think the key question for this RFC to progress is "Should an
> OOP
> language interface support public properties".
>
>
Imo anything that's publicly visible in a class, should be publicly visible
in an interface.