protected function processFileForResponse($filePath, $logLine) { $tmpLogLine = $logLine->getRawData(); $unprocessDBLines = Billrun_Factory::db()->linesCollection()->query()->notExists('billrun')->equals('file', $tmpLogLine['file']); //run only if theres promlematic lines in the file. if ($unprocessDBLines->count() == 0) { return false; } return parent::processFileForResponse($filePath, $logLine); }
protected function processFileForResponse($filePath, $logLine) { $this->phoneNumbersSum = 0; return parent::processFileForResponse($filePath, $logLine); }