Class ErrorHandler
Handles PHP errors
- AloFramework\Handlers\AbstractHandler implements AloFramework\Config\Configurable uses AloFramework\Config\ConfigurableTrait (not available)
- AloFramework\Handlers\ErrorHandler
Namespace: AloFramework\Handlers
Author: Art a.molcanovas@gmail.com
Since:
Located at class/ErrorHandler.php
Author: Art a.molcanovas@gmail.com
Since:
1.2 Tracks the last reported error
1.1 log() accepts the $file and $line parameters
Located at class/ErrorHandler.php
Methods summary
public
|
#
__construct( Psr\Log\LoggerInterface $logger = null,
Constructor |
public static
boolean
|
|
public static
|
|
public static
|
|
public static
|
#
register( Psr\Log\LoggerInterface $logger = null,
Registers the error handler |
public
integer
|
|
public
|
|
protected
|
#
handleCLI( string $type, string $label, integer $errno, string $errstr, string $errfile, integer $errline )
Generates console output for errors |
protected
|
#
handleHTML( string $type, string $label, integer $errno, string $errstr, string $errfile, integer $errline )
Generates HTML output for errors |
protected
|
|
public
string
|
Methods inherited from AloFramework\Handlers\AbstractHandler
Constants summary
Constants inherited from AloFramework\Handlers\AbstractHandler
Properties summary
Properties inherited from AloFramework\Handlers\AbstractHandler
Magic properties
public
|
$config
Handler configuration |