phper-framework/phper

Add owned state class entry.

Closed this issue · 0 comments

jmjoy commented

The owned state class entry will hold the inner state with generic type, can be created with class registration (some way to make it always as static variable?)

Then we can new a state object by the state class entry, and then take the state without unsafe.