earc / tree
eArc - the explicit architecture framework - tree composite blueprint
Installs: 42
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/earc/tree
Requires
- php: ^7.2
This package is auto-updated.
Last update: 2025-10-17 22:17:39 UTC
README
Basic tree composite blueprint.
installation
$ composer install earc/tree
basic usage
use eArc\Tree\Node; $root = new Node(); $root->addChild(new Node($root), 'identifier'); $root->getChild('identifier');
Please refer to the NodeInterface for details.
If you want to add the tree composite functionality to a existing class use the
eArc\Tree\Node\NodeTrait.