PHP Класс bouiboui\Tissue\Tissue

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
bindUncaughtExceptionHandler ( ) Bind Tissue to the Uncaught Exception Handler.
create ( null $message = null, null $code = null, null $severity = null, null $path = null, null $lineno = null, null $trace = null ) : array Create an issue from the sent request
createFromException ( Exception $e ) : array Create an issue from an Exception
setConfigPath ( $configPath ) Change config path (useful for tests)

Приватные методы

Метод Описание
loadConfig ( ) Loads configuration

Описание методов

bindUncaughtExceptionHandler() публичный статический Метод

If there is an existing uncaught exception handler it will be removed.
public static bindUncaughtExceptionHandler ( )

create() публичный статический Метод

Create an issue from the sent request
public static create ( null $message = null, null $code = null, null $severity = null, null $path = null, null $lineno = null, null $trace = null ) : array
$message null
$code null
$severity null
$path null
$lineno null
$trace null
Результат array

createFromException() публичный статический Метод

Create an issue from an Exception
public static createFromException ( Exception $e ) : array
$e Exception
Результат array

setConfigPath() публичный статический Метод

Change config path (useful for tests)
public static setConfigPath ( $configPath )
$configPath