Re: Allow properties to be defined on interface
| From: | Claude Pache | Date: | Thu, 28 Mar 2024 15:20:42 +0000 |
| Subject: | Re: Allow properties to be defined on interface | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122794@lists.php.net to get a copy of this message | ||
> Le 28 mars 2024 à 16:03, Saki Takamachi <saki@sakiot.com> a écrit :
>
> Therefore, I propose to allow public properties to be defined on the interface (It does not
> matter whether it is read-only or not).
>
Hi,
For information, the question of properties on interfaces is covered by the currently discussed RFC
“Property hooks”: https://wiki.php.net/rfc/property-hooks
—Claude