mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 20:57:19 +00:00
15 lines
330 B
PHP
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 {
|
||
|
}
|