PortableInfobox/includes/services/Parser/Nodes/NodeUnimplemented.php
2018-10-02 09:55:32 +02:00

14 lines
308 B
PHP

<?php
namespace PortableInfobox\Parser\Nodes;
class NodeUnimplemented extends Node {
public function getData() {
throw new UnimplementedNodeException( $this->getType() );
}
}
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
class UnimplementedNodeException extends \Exception {
}