Skip to content

RobinBressan/sequoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequoia

Basic object model to deal with tree

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:

{
    "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.

About

Basic tree object model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages