Turn NodeType
into a less magic self-translating, lazy-loading beast -> readonly immutable
#4523
Labels
NodeType
into a less magic self-translating, lazy-loading beast -> readonly immutable
#4523
those were Sebastian’s todos in the code
also
isOfType
should ideally be cached by creating a map of all nodetypes at once?… At least the method should accept the DTO name ;) #4556it would be cool to still have some lazy evaluations, which are possible via this trick https://peakd.com/hive-168588/@crell/php-tricks-lazy-public-readonly-properties-> no probably not a good idea as discussed on slackUnset hack in action:
related: #4515
related: #4228
The text was updated successfully, but these errors were encountered: