mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-11 00:00:51 +00:00
19 lines
402 B
PHP
19 lines
402 B
PHP
<?php
|
|
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
use Exception;
|
|
|
|
class NodeUnimplemented extends Node {
|
|
|
|
public function getData() {
|
|
// @phan-suppress-previous-line PhanPluginNeverReturnMethod LSP violation.
|
|
|
|
throw new UnimplementedNodeException( $this->getType() );
|
|
}
|
|
}
|
|
|
|
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
|
|
class UnimplementedNodeException extends Exception {
|
|
}
|