Error handler that collects all errors into an array.
This allows graceful handling of errors.
Cloneable
Instantiable
Methods |
public
clearErrors
() Reset/clear collected errors. |
public
getErrors
() :
array
Get collected errors.
|
public handleError ( PhpParser\Error $error ) |
public
hasErrors
() :
bool
Check whether there are any errors.
|
Properties |
private
$errors
|