Replies: 1 comment 1 reply
-
Would declaring it readonly (with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Like in Eloquent Active Record I have some class:
Is it possible to mark such properties as
internal
orreadonly
?It's possible for normal properties, but seems like not for magic ones..
I'd like to prohibit any access to class magic properties outside the class itself, or at least prohibit any direct writes..
Beta Was this translation helpful? Give feedback.
All reactions