private function handleRecords($route, $records)
    {
        $this->count += count($records) / 2;
        $queryBody = '';
        foreach ($records as $record) {
            // First record will never have context.
            if (!empty($record['context'])) {
                $this->time += $record['context']['duration'];
                $this->addQuery($route, $record, $queryBody);
            } else {
                $position = strpos($record['message'], ' -d');
                $queryBody = $position !== false ? substr($record['message'], $position + 3) : '';
            }
        }
    }
private function handleRecords($route, $records)
    {
        $this->count += count($records) / 2;
        $queryBody = '';
        foreach ($records as $record) {
            // First record will never have context.
            if (!empty($record['context'])) {
                $this->time += $record['context']['duration'];
                $this->addQuery($route, $record, $queryBody);
            } else {
                $position = strpos($record['message'], ' -d');
                $queryBody = $position !== false ? substr($record['message'], $position + 3) : '';
            }
        }
    }
private function handleRecords ( $ route , $ records ) { $ this -> count += count ( $ records ) / 2 ; $ queryBody = '' ; foreach ( $ records as $ record ) { // First record will never have context. if ( ! empty ( $ record [ 'context' ] ) ) { $ this -> time += $ record [ 'context' ] [ 'duration' ] ; $ this -> addQuery ( $ route , $ record , $ queryBody ) ; } else { $ position = strpos ( $ record [ 'message' ] , ' -d' ) ; $ queryBody = $ position !== false ? substr ( $ record [ 'message' ] , $ position + 3 ) : '' ; } } }
Handles passed records.

@param string $route
@param array  $records
Handles passed records .