public function getPrimaryNodeTypes() { $this->fetchNodeTypes(); return new ArrayIterator($this->primaryTypes); }