예제 #1
0
파일: 014.php 프로젝트: ngchie/system
 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);
 }
예제 #2
0
 protected function processFileForResponse($filePath, $logLine)
 {
     $this->phoneNumbersSum = 0;
     return parent::processFileForResponse($filePath, $logLine);
 }