PHP 인터페이스 Autarky\Errors\ErrorHandlerManagerInterface

상속: extends Autarky\Errors\ErrorHandlerInterface
파일 보기 프로젝트 열기: autarky/framework

공개 메소드들

메소드 설명
appendHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void Append a handler to the list of handlers.
prependHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void Prepend a handler to the list of handlers.
register ( ) : void Register the error handler to handle uncaught exceptions and errors.
setDefaultHandler ( Autarky\Errors\ErrorHandlerInterface $handler ) Set the default handler that will be called if no other handlers are available.
setRethrow ( boolean $toggle ) Set whether exceptions should be handled or rethrown.

메소드 상세

appendHandler() 공개 메소드

Append a handler to the list of handlers.
public appendHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void
$handler callable | Autarky\Errors\ErrorHandlerInterface
리턴 void

prependHandler() 공개 메소드

Prepend a handler to the list of handlers.
public prependHandler ( callable | Autarky\Errors\ErrorHandlerInterface $handler ) : void
$handler callable | Autarky\Errors\ErrorHandlerInterface
리턴 void

register() 공개 메소드

Register the error handler to handle uncaught exceptions and errors.
public register ( ) : void
리턴 void

setDefaultHandler() 공개 메소드

Set the default handler that will be called if no other handlers are available.
public setDefaultHandler ( Autarky\Errors\ErrorHandlerInterface $handler )
$handler Autarky\Errors\ErrorHandlerInterface

setRethrow() 공개 메소드

Set whether exceptions should be handled or rethrown.
public setRethrow ( boolean $toggle )
$toggle boolean