PortableInfobox/services/Parser/Nodes/NodeUnimplemented.php
2015-04-28 09:00:26 +02:00

15 lines
330 B
PHP

<?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 {
}