public function build()
{
foreach ($this->webspaceManager->getWebspaceCollection() as $webspace) {
$contentPath = $this->sessionManager->getContentPath($webspace->getKey());
$this->context->getOutput()->writeln('Default workspace');
$this->traverse($this->defaultSession->getNode($contentPath));
$this->context->getOutput()->writeln('');
$this->context->getOutput()->writeln('Live workspace');
$this->traverse($this->liveSession->getNode($contentPath));
}
$this->defaultSession->save();
$this->liveSession->save();
}