public function handle($errorLevel, $message, $file, $line, $context) {

		if ($this->errorLevel === 0) {
			return FALSE;
		}

		if (
			$this->displayErrors &&
			error_reporting() & $errorLevel &&
			$this->errorLevel & $errorLevel
		) {
			throw new \ErrorException(sprintf(
				'%s: %s in %s line %d',
				isset($this->errorLevels[$errorLevel]) ? $this->errorLevels[$errorLevel] : $errorLevel,
				$message,
				$file,
				$line
			), 0, $errorLevel, $file, $line);
		}

		return FALSE;
	}
public function handle($errorLevel, $message, $file, $line, $context) {

		if ($this->errorLevel === 0) {
			return FALSE;
		}

		if (
			$this->displayErrors &&
			error_reporting() & $errorLevel &&
			$this->errorLevel & $errorLevel
		) {
			throw new \ErrorException(sprintf(
				'%s: %s in %s line %d',
				isset($this->errorLevels[$errorLevel]) ? $this->errorLevels[$errorLevel] : $errorLevel,
				$message,
				$file,
				$line
			), 0, $errorLevel, $file, $line);
		}

		return FALSE;
	}
public function handle ( $ errorLevel , $ message , $ file , $ line , $ context ) { if ( $ this -> errorLevel === 0 ) { return FALSE ; } if ( $ this -> displayErrors && error_reporting ( ) & $ errorLevel && $ this -> errorLevel & $ errorLevel ) { throw new \ ErrorException ( sprintf ( '%s: %s in %s line %d' , isset ( $ this -> errorLevels [ $ errorLevel ] ) ? $ this -> errorLevels [ $ errorLevel ] : $ errorLevel , $ message , $ file , $ line ) , 0 , $ errorLevel , $ file , $ line ) ; } return FALSE ; }
handle error and throw exception when error level limits are met

@param integer $errorLevel
@param string $message
@param string $file
@param string $line
@param string $context
@throws \ErrorException

@return boolean
handle error and throw exception when error level limits are met