2015-04-27 14:05:31 +00:00
|
|
|
<?php
|
2018-08-09 09:49:10 +00:00
|
|
|
namespace PortableInfobox\Parser\Nodes;
|
2015-04-27 14:05:31 +00:00
|
|
|
|
|
|
|
class NodeUnimplemented extends Node {
|
|
|
|
|
|
|
|
public function getData() {
|
2021-09-11 18:55:27 +00:00
|
|
|
// @phan-suppress-previous-line PhanPluginNeverReturnMethod LSP violation.
|
|
|
|
|
2015-05-06 11:16:55 +00:00
|
|
|
throw new UnimplementedNodeException( $this->getType() );
|
2015-04-27 14:05:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-02 07:41:19 +00:00
|
|
|
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
|
2015-04-27 14:05:31 +00:00
|
|
|
class UnimplementedNodeException extends \Exception {
|
2018-08-16 09:25:53 +00:00
|
|
|
}
|