Closed ivan-ionin closed 3 years ago
Maybe worth adding parentId field (like pid or pnt) to interface for simplify usage tree nodes?
Interesting idea, @ivan-ionin! I have no objection!
We could add the field as an optional.
PR is welcome :)
+1 Baum for PHP seems to have that as well. See https://github.com/etrepat/baum
Maybe worth adding parentId field (like pid or pnt) to interface for simplify usage tree nodes?