We have to divide the properties modified by these methods into configurable once (usually in DI container config) and multiple times (DI container config + middleware for example).
Properties that are configured once must be changed immutable methods as they are now.
Properties that are configuraed multiple times should be saved in view state.
Suggest move to state theme and language (should we move to state source language?).
ViewInterface
immutable methods that modified properties:We have to divide the properties modified by these methods into configurable once (usually in DI container config) and multiple times (DI container config + middleware for example).
Properties that are configured once must be changed immutable methods as they are now.
Properties that are configuraed multiple times should be saved in view state.
Suggest move to state theme and language (should we move to state source language?).