Skip to content

Change $key from private to protected #173

Open
@Externaluse

Description

@Externaluse

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',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions