Hi Claude,
> For information, the question of properties on interfaces is covered by the
> currently discussed RFC “Property hooks”:
> https://wiki.php.net/rfc/property-hooks
I only half-understand that RFC. Thanks for pointing me out.
Regards.
Saki
Hi Larry,
> This functionality is included in the Property Hooks RFC, which will be going
> to a vote just as soon as Ilija finishes polishing up the test suite for it.
> (I think he wants to get it into a "commit as soon as the vote passes" state
> before we call the vote, even though that's
> Le 28 mars 2024 à 16:03, Saki Takamachi 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 discu
On Thu, Mar 28, 2024, at 3:03 PM, Saki Takamachi wrote:
> Hi internals,
>
> With read-only properties, we no longer need to define getter methods
> when we can take advantage of them.
>
> However, there is still one problem here from a convenience standpoint.
> That is if we use an interface, we