\Composer\UtilErrorHandler

Convert PHP errors into exceptions

Summary

Methods
Properties
Constants
handle()
register()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$io
N/A

Properties

$io

$io : 

Type

Methods

handle()

handle(integer  $level, string  $message, string  $file, integer  $line) 

Error handler

Parameters

integer $level

Level of the error raised

string $message

Error message

string $file

Filename that the error was raised in

integer $line

Line number the error was raised at

Throws

\ErrorException

register()

register(\Composer\IO\IOInterface|null  $io = null) 

Register error handler.

Parameters

\Composer\IO\IOInterface|null $io