diff options
Diffstat (limited to 'vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php')
-rw-r--r-- | vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php | 13 |
1 files changed, 13 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 000000000..d620e7453 --- /dev/null +++ b/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php @@ -0,0 +1,13 @@ +<?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); +} |