public function publishNodes(array $nodes, Workspace $targetWorkspace) { foreach ($nodes as $node) { $this->publishNode($node, $targetWorkspace); } }