public function getParsedData($sourcePath) { if (!isset($this->parsedFiles[$sourcePath])) { $this->parsedFiles[$sourcePath] = $this->parseXmlFile($sourcePath); } return $this->parsedFiles[$sourcePath]; }