Skip to content

Replace the magic getters/setters with non-magic ones #130

@oliverklee

Description

@oliverklee

The AbstractType::__get and AbstractType::__set do not allow static analysis for cases where they are used. I'd like to deprecate them and replace them with explicit get and set methods together with explicitly-typed getAsString, setAsBoolean etc. methods.

@mjaschen What do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions