Closed manaphp closed 3 years ago
Hi.
In general case no, but maybe some annotation like @noDeepAssoc
or something could be added on the properties you want to exclude, or something.
Actually, are _snapshot
and _last_refresh
private
fields per chance, while others are protected
? I take it you get this completion from get_object_vars()
in the scope where these private fields are not accessible, maybe that could be considered in the plugin...
i change from protected to private, but it does't effect...
Hi. In general case no, but maybe some annotation like
@noDeepAssoc
or something could be added on the properties you want to exclude, or something.
supported now?!
No, not supported, would need to implement, I'm just throwing options of how it could be done.
No, not supported, would need to implement, I'm just throwing options of how it could be done.
array_diff_assoc(get_class_vars(new static),['_last_refresh'=>1])
don't work..
if can work, it is boring also.
Sorry, realistically speaking, I'll probably won't have time to implement this feature, since I've even been ignoring bugs and typing issues for months. I do intend to dedicate small part of my time to deep-assoc, but it will be barely enough for others, more impactful issues.
Actually, wasn't it same thing as https://github.com/klesun/deep-assoc-completion/issues/120 ?
can we ignore the string start with underscore.?![20201119113246](https://user-images.githubusercontent.com/16060165/99631476-a18fde80-2a76-11eb-8f77-36e227d74b7e.png)