/** * @return XmlDocumentParser */ private function getInnerParser() { if ($this->innerParser === null) { $innerParser = new self($this->getComplexAttributeFactory(), $this->document); $innerParser->setNodeFactory($this->getNodeFactory()); $this->innerParser = $innerParser; } return $this->innerParser; }