We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b2f44 commit f148e50Copy full SHA for f148e50
src/NestableCollection.php
@@ -19,14 +19,13 @@ class NestableCollection extends Collection
19
private $parentColumn;
20
private $removeItemsWithMissingAncestor = true;
21
private $indentChars = ' ';
22
- private $childrenName;
+ private $childrenName = 'items';
23
24
public function __construct($items = [])
25
{
26
parent::__construct($items);
27
$this->parentColumn = 'parent_id';
28
$this->total = count($items);
29
- $this->childrenName = 'items';
30
}
31
32
public function childrenName($name)
0 commit comments