PHP Class Eva\EvaEngine\Error\CLIErrorHandler

Inheritance: implements Eva\EvaEngine\Error\ErrorHandlerInterface
Show file Open project: evaengine/evaengine

Protected Properties

Property Type Description
$logger boolean

Public Methods

Method Description
errorHandler ( $errno, $errstr, $errfile, $errline ) : mixed | void
exceptionHandler ( Exception $e ) : mixed | void
getLogger ( ) : boolean | null
setLogger ( Phalcon\Logger\AdapterInterface $logger ) : mixed
shutdownHandler ( ) : mixed | void

Protected Methods

Method Description
errorProcess ( Eva\EvaEngine\Error\Error $error )
logError ( Eva\EvaEngine\Error\Error $error ) : mixed

Method Details

errorHandler() public static method

public static errorHandler ( $errno, $errstr, $errfile, $errline ) : mixed | void
$errno
$errstr
$errfile
$errline
return mixed | void

errorProcess() protected static method

protected static errorProcess ( Eva\EvaEngine\Error\Error $error )
$error Eva\EvaEngine\Error\Error

exceptionHandler() public static method

public static exceptionHandler ( Exception $e ) : mixed | void
$e Exception
return mixed | void

getLogger() public static method

public static getLogger ( ) : boolean | null
return boolean | null

logError() protected static method

protected static logError ( Eva\EvaEngine\Error\Error $error ) : mixed
$error Eva\EvaEngine\Error\Error
return mixed

setLogger() public static method

public static setLogger ( Phalcon\Logger\AdapterInterface $logger ) : mixed
$logger Phalcon\Logger\AdapterInterface
return mixed

shutdownHandler() public static method

public static shutdownHandler ( ) : mixed | void
return mixed | void

Property Details

$logger protected static property

protected static bool $logger
return boolean