Lines Matching refs:depth
101 * @param int $depth current nesting depth (used in recursion)
103 protected function nestBranch(NestedValue $parent, $row, $nesting, $depth = 0) argument
106 if ($depth >= $nesting) {
122 $node = $this->getNodeForValue($newValue, $parentPath, $depth);
124 $this->nestBranch($node, $row, $nesting, $depth + 1);
128 $node = $this->getNodeForValue($newValue, $parentPath, $depth);
130 $this->nestBranch($node, $row, $nesting, $depth + 1);
133 $node = $this->getNodeForValue($valObj, $parentPath, $depth);
135 $this->nestBranch($node, $row, $nesting, $depth + 1);
143 * @param int $depth
146 protected function getNodeForValue(Value $value, $parentPath, $depth) argument
148 $node = new NestedValue($value, $parentPath, $depth);