PHP Class Autarky\Errors\StubErrorHandler

Written primarily for testing purposes.
Inheritance: implements Autarky\Errors\ErrorHandlerManagerInterface
Show file Open project: autarky/framework

Public Methods

Method Description
appendHandler ( $handler )
handle ( Exception $exception )
prependHandler ( $handler )
register ( )
setDebug ( $toggle )
setDefaultHandler ( Autarky\Errors\ErrorHandlerInterface $handler )
setLogger ( $logger )
setRethrow ( $toggle )

Method Details

appendHandler() public method

public appendHandler ( $handler )

handle() public method

public handle ( Exception $exception )
$exception Exception

prependHandler() public method

public prependHandler ( $handler )

register() public method

public register ( )

setDebug() public method

public setDebug ( $toggle )

setDefaultHandler() public method

public setDefaultHandler ( Autarky\Errors\ErrorHandlerInterface $handler )
$handler Autarky\Errors\ErrorHandlerInterface

setLogger() public method

public setLogger ( $logger )

setRethrow() public method

public setRethrow ( $toggle )