public function handle($severity, $message, $filename, $lineno)
    {
        if (
            E_DEPRECATED === $severity ||
            E_USER_DEPRECATED === $severity ||
            0 === $this->isolator->error_reporting()
        ) {
            $fallbackHandler = $this->fallbackHandler();

            return $fallbackHandler($severity, $message, $filename, $lineno);
        }

        throw new ErrorException($message, $severity, $filename, $lineno);
    }
public function handle($severity, $message, $filename, $lineno)
    {
        if (
            E_DEPRECATED === $severity ||
            E_USER_DEPRECATED === $severity ||
            0 === $this->isolator->error_reporting()
        ) {
            $fallbackHandler = $this->fallbackHandler();

            return $fallbackHandler($severity, $message, $filename, $lineno);
        }

        throw new ErrorException($message, $severity, $filename, $lineno);
    }
public function handle ( $ severity , $ message , $ filename , $ lineno ) { if ( E_DEPRECATED === $ severity || E_USER_DEPRECATED === $ severity || 0 === $ this -> isolator -> error_reporting ( ) ) { $ fallbackHandler = $ this -> fallbackHandler ( ) ; return $ fallbackHandler ( $ severity , $ message , $ filename , $ lineno ) ; } throw new ErrorException ( $ message , $ severity , $ filename , $ lineno ) ; }
Handles a PHP error.

@param integer $severity The severity of the error.
@param string  $message  The error message.
@param string  $filename The filename in which the error was raised.
@param integer $lineno   The line number in which the error was raised.

@return boolean                         False if the error is a deprecation message, or '@' suppression is in use.
@throws NonFatalErrorExceptionInterface Representing the error, unless the error is a deprecation message, or '@' suppression is in use.
Handles a PHP error .