protected function _harvest($nodes)
{
$this->namespace = null;
$this->out = array();
foreach ($nodes as $node) {
if ($node) {
$parts = explode('/', trim(mb_substr($node->file, $this->rootlen), './'));
$name = array_pop($parts);
$this->_insert($this->out, $parts, $name, $this->_extract($node));
}
}
}