Composer API
Class

Composer\Util\ErrorHandler

class ErrorHandler

Convert PHP errors into exceptions

Methods

static  handle(int $level, string $message, string $file, int $line)

Error handler

static  register(IOInterface $io = null)

Register error handler.

Details

at line 37
static public handle(int $level, string $message, string $file, int $line)

Error handler

Parameters

int $level Level of the error raised
string $message Error message
string $file Filename that the error was raised in
int $line Line number the error was raised at

at line 73
static public register(IOInterface $io = null)

Register error handler.

Parameters

IOInterface $io