Download the PHP package rgilyov/array-tree-walker without Composer
On this page you can find all versions of the php package rgilyov/array-tree-walker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rgilyov/array-tree-walker
More information about rgilyov/array-tree-walker
Files in rgilyov/array-tree-walker
Download rgilyov/array-tree-walker
More information about rgilyov/array-tree-walker
Files in rgilyov/array-tree-walker
Vendor rgilyov
Package array-tree-walker
Short Description Very easy way to parse arrays with tree structure
License MIT
Package array-tree-walker
Short Description Very easy way to parse arrays with tree structure
License MIT
Please rate this library. Is it a good library?
Informations about the package array-tree-walker
ArrayTreeWalker
Installation
Description
Lets make an example of array with tree structure:
To walk through tree structure use ->
, to get value use ->get('name')
;
You can also get value like so
You may also specify node name, just pass it as the second the class's constructor parameter
You also can walk down the tree and walk up the tree and modify each node during walking:
List of available methods:
All versions of array-tree-walker with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package rgilyov/array-tree-walker contains the following files
Loading the files please wait ....