Skip to content

[PHP8.1] use readonly properties #141

Open
@jkowalleck

Description

currently readonly properties are private, annotated as @readonly and available via a getter.

since php8.1 native support for readonly properties exists.

proposal

attention

  • there are issues when it comes to modifications in __clone() - -therefore, not fully rolled out
  • there are extended works needed to make the test cases aware ...
  • failed try: [WIP] use readonly properties #207

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions