PortableInfobox/services/Parser/Nodes/NodeUnimplemented.php

15 lines
330 B
PHP
Raw Normal View History

<?php
namespace Wikia\PortableInfobox\Parser\Nodes;
class NodeUnimplemented extends Node {
public function getType() {
return parent::getType() . '(unimplemented)';
}
public function getData() {
throw new UnimplementedNodeException('Unimplemented node type');
}
}
class UnimplementedNodeException extends \Exception {
}