about summary refs log tree commit diff stats
path: root/vendor/phpstan/phpdoc-parser/src/Ast/Node.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpstan/phpdoc-parser/src/Ast/Node.php')
-rw-r--r--vendor/phpstan/phpdoc-parser/src/Ast/Node.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/phpstan/phpdoc-parser/src/Ast/Node.php b/vendor/phpstan/phpdoc-parser/src/Ast/Node.php
new file mode 100644
index 0000000..51a1a19
--- /dev/null
+++ b/vendor/phpstan/phpdoc-parser/src/Ast/Node.php
@@ -0,0 +1,22 @@
+<?php declare(strict_types = 1);
+
+namespace PHPStan\PhpDocParser\Ast;
+
+interface Node
+{
+
+	public function __toString(): string;
+
+	/**
+	 * @param mixed $value
+	 */
+	public function setAttribute(string $key, $value): void;
+
+	public function hasAttribute(string $key): bool;
+
+	/**
+	 * @return mixed
+	 */
+	public function getAttribute(string $key);
+
+}