Skip to content

[Feature] Allow "write once" initialization of fields #4

Open
@lisachenko

Description

@lisachenko

Logic of typed properties requires initialization and engine allows to initialize such properties from everywhere, not only within constructor.

@nikic has suggested to follow this logic, eg. allow to initialize each property only once. Such implementation will allow to call private/protected setters with additional logic of initialization/validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions