Symfony\Component\Debug\ErrorHandler::register
Registers the error handler.
Signature
public function register([integer
$level = null,
[Boolean
$displayErrors = true]] )
Parameters
$level
— integer- The level at which the conversion to Exception is done (null to use the error_reporting() value and 0 to disable)
$displayErrors
— object- Display errors (for dev environment) or just log they (production usage)
Returns
- The
- registered error handler