PortableInfobox/includes/services/Parser/Nodes/NodeHeader.php
2019-02-02 23:34:48 +01:00

17 lines
294 B
PHP

<?php
namespace PortableInfobox\Parser\Nodes;
class NodeHeader extends Node {
public function getData() {
if ( !isset( $this->data ) ) {
$this->data = [
'value' => $this->getInnerValue( $this->xmlNode ),
'item-name' => $this->getItemName()
];
}
return $this->data;
}
}