phper-framework/phper

Add into state method for object.

Closed this issue · 1 comments

jmjoy commented

So we can get the owned state without replace the state with a default value, which is silly.

jmjoy commented

But be careful the object has reference count, we should use Option if the reference count is bigger than 1.