While you are working with real classes it can be very useful to have ability to make self and static references in generated consts.
I suppose the most effective and fast approach can be using check of beginning const value.
If value string starts from self:: or static:: it should make value as reference.
While you are working with real classes it can be very useful to have ability to make self and static references in generated consts.
I suppose the most effective and fast approach can be using check of beginning const value. If value string starts from
self::
orstatic::
it should make value as reference.Now it tries to save it as simple strings....
Is it possible?