private function processEventNotificationLogRecord(array $records, $currentRecordIndex)
    {
        $record = $records[$currentRecordIndex];

        $record['message'] = null;
        $record['channel'] = '_event_notify';
        $record['context'] = array($record['context']['event'] => $record['context']['listener']);

        // if the previous record is also an event notification, combine them
        if (isset($records[$currentRecordIndex - 1]) && $this->isEventNotificationLog($records[$currentRecordIndex - 1])) {
            $record['_properties']['display_log_info'] = false;
        }

        return $record;
    }
private function processEventNotificationLogRecord(array $records, $currentRecordIndex)
    {
        $record = $records[$currentRecordIndex];

        $record['message'] = null;
        $record['channel'] = '_event_notify';
        $record['context'] = array($record['context']['event'] => $record['context']['listener']);

        // if the previous record is also an event notification, combine them
        if (isset($records[$currentRecordIndex - 1]) && $this->isEventNotificationLog($records[$currentRecordIndex - 1])) {
            $record['_properties']['display_log_info'] = false;
        }

        return $record;
    }
private function processEventNotificationLogRecord ( array $ records , $ currentRecordIndex ) { $ record = $ records [ $ currentRecordIndex ] ; $ record [ 'message' ] = null ; $ record [ 'channel' ] = '_event_notify' ; $ record [ 'context' ] = array ( $ record [ 'context' ] [ 'event' ] => $ record [ 'context' ] [ 'listener' ] ) ; // if the previous record is also an event notification, combine them if ( isset ( $ records [ $ currentRecordIndex - 1 ] ) && $ this -> isEventNotificationLog ( $ records [ $ currentRecordIndex - 1 ] ) ) { $ record [ '_properties' ] [ 'display_log_info' ] = false ; } return $ record ; }
In Symfony applications is common to have lots of consecutive "event notify"
log messages. This method combines them all to generate a more compact output.

@param array $records
@param int   $currentRecordIndex

@return string
In Symfony applications is common to have lots of consecutive event notify log messages . This method combines them all to generate a more compact output .