PHP Class Ouzo\ExceptionHandling\ErrorHandler

Datei anzeigen Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
errorHandler ( $errorNumber, $errorString, $errorFile, $errorLine )
exceptionHandler ( Exception $exception )
register ( )
shutdownHandler ( )
stopsExecution ( $errno )

Protected Methods

Method Description
getExceptionHandler ( ) : ExceptionHandler

Private Methods

Method Description
trace ( $errorFile, $errorLine )

Method Details

errorHandler() public static method

public static errorHandler ( $errorNumber, $errorString, $errorFile, $errorLine )

exceptionHandler() public static method

public static exceptionHandler ( Exception $exception )
$exception Exception

getExceptionHandler() protected static method

protected static getExceptionHandler ( ) : ExceptionHandler
return ExceptionHandler

register() public method

public register ( )

shutdownHandler() public static method

public static shutdownHandler ( )

stopsExecution() public static method

public static stopsExecution ( $errno )