Skip to content

Koudela/eArc-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

earc/tree

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages