src/PhpConsole/Handler.php
public function handleError($code = null, $text = null, $file = null, $line = null, $context = null, $ignoreTraceCalls = 0) {
		if(!$this->isStarted || error_reporting() === 0 || $this->isHandlingDisabled() || ($this->errorsHandlerLevel && !($code & $this->errorsHandlerLevel))) {
			return;
		}
		$this->onHandlingStart();
		$this->connector->getErrorsDispatcher()->dispatchError($code, $text, $file, $line, is_numeric($ignoreTraceCalls) ? $ignoreTraceCalls + 1 : $ignoreTraceCalls);
		if($this->oldErrorsHandler && $this->callOldHandlers) {
			call_user_func_array($this->oldErrorsHandler, array($code, $text, $file, $line, $context));
		}
		$this->onHandlingComplete();
	}
public function handleError($code = null, $text = null, $file = null, $line = null, $context = null, $ignoreTraceCalls = 0) {
		if(!$this->isStarted || error_reporting() === 0 || $this->isHandlingDisabled() || ($this->errorsHandlerLevel && !($code & $this->errorsHandlerLevel))) {
			return;
		}
		$this->onHandlingStart();
		$this->connector->getErrorsDispatcher()->dispatchError($code, $text, $file, $line, is_numeric($ignoreTraceCalls) ? $ignoreTraceCalls + 1 : $ignoreTraceCalls);
		if($this->oldErrorsHandler && $this->callOldHandlers) {
			call_user_func_array($this->oldErrorsHandler, array($code, $text, $file, $line, $context));
		}
		$this->onHandlingComplete();
	}
public function handleError ( $ code = null , $ text = null , $ file = null , $ line = null , $ context = null , $ ignoreTraceCalls = 0 ) { if ( ! $ this -> isStarted || error_reporting ( ) === 0 || $ this -> isHandlingDisabled ( ) || ( $ this -> errorsHandlerLevel && ! ( $ code & $ this -> errorsHandlerLevel ) ) ) { return ; } $ this -> onHandlingStart ( ) ; $ this -> connector -> getErrorsDispatcher ( ) -> dispatchError ( $ code , $ text , $ file , $ line , is_numeric ( $ ignoreTraceCalls ) ? $ ignoreTraceCalls + 1 : $ ignoreTraceCalls ) ; if ( $ this -> oldErrorsHandler && $ this -> callOldHandlers ) { call_user_func_array ( $ this -> oldErrorsHandler , array ( $ code , $ text , $ file , $ line , $ context ) ) ; } $ this -> onHandlingComplete ( ) ; }
Handle error data
@param int|null $code
@param string|null $text
@param string|null $file
@param int|null $line
@param null $context
@param int|array $ignoreTraceCalls Ignore tracing classes by name prefix `array('PhpConsole')` or fixed number of calls to ignore
Handle error data