-
-
Notifications
You must be signed in to change notification settings - Fork 3
[Feature] Allow "write once" initialization of fields #4
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request