On Thu, Mar 30, 2023 at 3:50 PM Larry Garfield <la...@garfieldtech.com>
wrote:

>
> This is a part of the "Property Hooks" RFC that Ilija and are working on.
> It's not *quite* done yet, but it's mostly there.  The draft is available
> here: https://wiki.php.net/rfc/property-hooks
>
>
Do you think we could have a smaller RFC that only deals with properties in
interfaces that are just like what's allowed in classes right now, public
and public readonly?
The need seems to be: a readonly property in classes and a interface that
signals a get-only access so maybe readonly flag on interface attribute is
clear.

Or maybe that can be attempted to be achieved in the same rfc and we
fallback to a smaller RFC for the interface only in cases property-hooks
RFC does not pass?

Thank you,
Alex

Reply via email to