protected function parseMetaData(\DOMDocument $meta) { $nodeList = $meta->getElementsByTagName('creator'); if ($nodeList->item(0)) { $this->authors = $nodeList->item(0)->nodeValue; } }