PortableInfobox/includes/services/Parser/Nodes/NodeUnimplemented.php

14 lines
308 B
PHP
Raw Normal View History

<?php
namespace PortableInfobox\Parser\Nodes;
class NodeUnimplemented extends Node {
public function getData() {
2015-05-06 11:16:55 +00:00
throw new UnimplementedNodeException( $this->getType() );
}
}
2018-10-02 07:41:19 +00:00
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
class UnimplementedNodeException extends \Exception {
2018-08-16 09:25:53 +00:00
}