protected function wasLastExecSuccessful($errorCount)
    {
        $success = true;

        if ($this->allowed_warnings != -1 && $errorCount > $this->allowed_warnings) {
            $success = false;
            return $success;
        }
        return $success;
    }
protected function wasLastExecSuccessful($errorCount)
    {
        $success = true;

        if ($this->allowed_warnings != -1 && $errorCount > $this->allowed_warnings) {
            $success = false;
            return $success;
        }
        return $success;
    }
protected function wasLastExecSuccessful ( $ errorCount ) { $ success = true ; if ( $ this -> allowed_warnings != - 1 && $ errorCount > $ this -> allowed_warnings ) { $ success = false ; return $ success ; } return $ success ; }
Returns a boolean indicating if the error count can be considered a success.

@param int $errorCount
@return bool
Returns a boolean indicating if the error count can be considered a success .