Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change $key from private to protected #173

Open
Externaluse opened this issue Dec 25, 2023 · 0 comments
Open

Change $key from private to protected #173

Externaluse opened this issue Dec 25, 2023 · 0 comments

Comments

@Externaluse
Copy link

Might there be a chance to change the $key property to protected?
Another project (https://github.com/cruxinator/php-bitmask) is using it for extension. I've written my own changes to their bitmask but it's irritating to have two key properties in set_state - although this is mainly relevant for debugging, is there any reason that $key needs to be private?

::__set_state(array( 'value' => 9437184, 'key' => 'SomeEnumValue', 'key' => 'SomeEnumValue|AnotherEnumValue',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant