mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +00:00
13 lines
302 B
PHP
13 lines
302 B
PHP
<?php
|
|
namespace Wikia\PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeData extends Node {
|
|
|
|
public function getData() {
|
|
return [
|
|
'label' => $this->getExternalParser()->parseRecursive( (string) $this->xmlNode->{self::LABEL_TAG_NAME} ),
|
|
'value' => $this->getValueWithDefault( $this->xmlNode )
|
|
];
|
|
}
|
|
}
|