Copied!

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.

  • return Error []
public handleError ( PhpParser\Error $error )
public hasErrors () : bool
 

Check whether there are any errors.

  • return bool
Properties
private $errors
 
  • var Error [] Collected errors
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only