Zend\Stdlib\ErrorHandler
ErrorHandler that can be used to catch internal PHP errors and convert to an ErrorException instance.
Synopsis
class ErrorHandler
{
- // members
- protected array $stack;
- // methods
- public static bool started()
- public static int getNestedLevel()
- public static void start()
- public static null|ErrorException stop()
- public static void clean()
- public static void addError()
Members
protected
- $stack
—
array
Active stack
Methods
public
- addError() — Add an error to the stack
- clean() — Stop all active handler
- getNestedLevel() — Get the current nested level
- start() — Starting the error handler
- started() — Check if this error handler is active
- stop() — Stopping the error handler