mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-19 03:30:29 +00:00
14 lines
270 B
PHP
14 lines
270 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeTitle extends Node {
|
|
public function getData() {
|
|
if ( !isset( $this->data ) ) {
|
|
$title = $this->getValueWithDefault( $this->xmlNode );
|
|
$this->data = [ 'value' => $title ];
|
|
}
|
|
|
|
return $this->data;
|
|
}
|
|
}
|