library sequoia
Provide tools to manage tree data structure
robinbressan/sequoia
Provide tools to manage tree data structure
- Friday, December 13, 2013
- by RobinBressan
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Sequoia
Basic object model to deal with tree, (*1)
Installation
The recommended way to install sequoia is through Composer. Just create a
composer.json file, and run the composer install command to
install it:, (*2)
{
"require": {
"robinbressan/sequoia": "dev-master"
}
}
Usage
$tree = new Tree(new Node('root'));
$foo = new Node('foo');
$tree->getRootNode()->appendChild($foo);
$bar = new Node('bar');
$foo->appendChild($bar);
// Returns $bar
$tree->getRootNode()->find('foo/bar');
License
This library is available under the MIT License., (*3)
dev-master
9999999-dev
Provide tools to manage tree data structure
Sources
Download
MIT
by
Robin Bressan
tree