mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-28 02:00:25 +00:00
17 lines
294 B
PHP
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;
|
|
}
|
|
}
|