13 lines
268 B
PHP
13 lines
268 B
PHP
<?php
|
|
|
|
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);
|
|
} |