<?phpdeclare(strict_types=1);namespacePhpParser;interfaceErrorHandler{/** * Handle an error generated during lexing, parsing or some other operation. * * @param Error $error The error that needs to be handled */publicfunctionhandleError(Error$error);}