diff options
Diffstat (limited to 'vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php')
| -rw-r--r-- | vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php b/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php new file mode 100644 index 0000000..51ad730 --- /dev/null +++ b/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php @@ -0,0 +1,12 @@ +<?php declare(strict_types=1); + +namespace PhpParser; + +interface ErrorHandler { + /** + * Handle an error generated during lexing, parsing or some other operation. + * + * @param Error $error The error that needs to be handled + */ + public function handleError(Error $error): void; +} |
