@@ 120-122 (lines=3) @@ | ||
117 | } |
|
118 | } |
|
119 | ||
120 | if (count($this->nodes) >= $this->count && $this->allChildrenComplete()) { |
|
121 | $this->complete = true; |
|
122 | } |
|
123 | return $num_identified; |
|
124 | } |
|
125 | ||
@@ 178-182 (lines=5) @@ | ||
175 | public function isComplete() |
|
176 | { |
|
177 | if ($this->complete === null) { |
|
178 | if (count($this->nodes) === $this->count) { |
|
179 | $this->complete = true; |
|
180 | } else { |
|
181 | $this->complete = false; |
|
182 | } |
|
183 | } |
|
184 | return $this->complete; |
|
185 | } |