mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-23 13:32:36 +00:00
14 lines
276 B
PHP
14 lines
276 B
PHP
<?php
|
|
namespace Wikia\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;
|
|
}
|
|
}
|