/** * Set the error handler. * * @param string $handlerName The name of the error handler function. */ static function setErrorHandler($handlerName) { self::$errorHandler = $handlerName; }