mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +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;
|
|
}
|
|
}
|