mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-22 13:02:35 +00:00
20 lines
321 B
PHP
20 lines
321 B
PHP
<?php
|
|
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeHeader extends Node {
|
|
/*
|
|
* @return array
|
|
*/
|
|
public function getData() {
|
|
if ( !isset( $this->data ) ) {
|
|
$this->data = [
|
|
'value' => $this->getInnerValue( $this->xmlNode ),
|
|
'item-name' => $this->getItemName()
|
|
];
|
|
}
|
|
|
|
return $this->data;
|
|
}
|
|
}
|