@@ -26,6 +26,9 @@ |
||
26 | 26 | return $this->model->withDepth()->find($id, $columns); |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $name |
|
31 | + */ |
|
29 | 32 | public function tree($name) |
30 | 33 | { |
31 | 34 | $root = $this->findBy('name', $name); |
@@ -97,6 +97,9 @@ |
||
97 | 97 | } |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @param string $name |
|
102 | + */ |
|
100 | 103 | public function getUniqueUsername($name) |
101 | 104 | { |
102 | 105 | $nrRand = rand(0,100); |