private function updateMessages(array $messages)
    {
        $this->reset();

        foreach ($messages as $message) {
            $messageSize = strlen($message);

            $this->data['messages_size'] += $messageSize;
            $this->data['messages_count']++;

            $this->data['messages'] []= array(
                'content' => $message,
                'size' => $messageSize,
                'decoded' => unserialize($message),
            );
        }
    }
private function updateMessages(array $messages)
    {
        $this->reset();

        foreach ($messages as $message) {
            $messageSize = strlen($message);

            $this->data['messages_size'] += $messageSize;
            $this->data['messages_count']++;

            $this->data['messages'] []= array(
                'content' => $message,
                'size' => $messageSize,
                'decoded' => unserialize($message),
            );
        }
    }
private function updateMessages ( array $ messages ) { $ this -> reset ( ) ; foreach ( $ messages as $ message ) { $ messageSize = strlen ( $ message ) ; $ this -> data [ 'messages_size' ] += $ messageSize ; $ this -> data [ 'messages_count' ] ++ ; $ this -> data [ 'messages' ] [ ] = array ( 'content' => $ message , 'size' => $ messageSize , 'decoded' => unserialize ( $ message ) , ) ; } }
Update data collector data with messages.

@param string[] $messages
Update data collector data with messages .