mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 04:22:37 +00:00
13 lines
321 B
PHP
13 lines
321 B
PHP
<?php
|
|
namespace Wikia\PortableInfobox\Parser\Nodes;
|
|
|
|
class NodePair extends Node {
|
|
|
|
public function getData() {
|
|
$data = [];
|
|
$data['label'] = $this->parseWithExternalParser( (string) $this->xmlNode->{self::LABEL_TAG_NAME}, true );
|
|
$data['value'] = $this->getValueWithDefault( $this->xmlNode );
|
|
return $data;
|
|
}
|
|
}
|