Skip to content

Commit a189ef5

Browse files
authored
Update README.md
1 parent f5a9661 commit a189ef5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Hierarchical can be use as an array, html or google organizations chart
2727
$hierarchy = new Hierarchical($conn, Hierarchical::CHART);
2828
```
2929

30+
Assign new user to a position
31+
32+
```php
33+
$hierarchy->add("foo22", "Foo")->under("vy7735");
34+
```
35+
3036
Dump array
3137

3238
```php

0 commit comments

Comments
 (0)