PHP Class Ergo\Error\ErrorProxy

Afficher le fichier Open project: 99designs/ergo

Méthodes publiques

Méthode Description
__construct ( $application ) Constructor
_handleError ( $errno, $errstr, $errfile, $errline, $context = null ) PHP error handler interface
_handleException ( $e ) PHP exception handler interface
_shutdown ( ) PHP shutdown function to catch fatal errors
register ( ) Registers the error handler with PHP
unregister ( ) Attempts to unregister the error handler, restores the previous

Private Methods

Méthode Description
_errorNumberString ( $intval ) Converts a PHP error int to a string

Method Details

__construct() public méthode

Constructor
public __construct ( $application )

_handleError() public méthode

PHP error handler interface
See also: set_error_handler
public _handleError ( $errno, $errstr, $errfile, $errline, $context = null )

_handleException() public méthode

PHP exception handler interface
See also: set_exception_handler
public _handleException ( $e )

_shutdown() public méthode

PHP shutdown function to catch fatal errors
See also: http://www.eggplant.ws/blog/php/mayday-php-going-down/
See also: register_shutdown_function
public _shutdown ( )

register() public méthode

Registers the error handler with PHP
public register ( )

unregister() public méthode

Attempts to unregister the error handler, restores the previous
public unregister ( )