You are here

public function TranslationDataCollector::lateCollect in Plug 7

File

lib/Symfony/translation/DataCollector/TranslationDataCollector.php, line 41

Class

TranslationDataCollector
@author Abdellatif Ait boudad <a.aitboudad@gmail.com>

Namespace

Symfony\Component\Translation\DataCollector

Code

public function lateCollect() {
  $messages = $this
    ->sanitizeCollectedMessages($this->translator
    ->getCollectedMessages());
  $this->data = $this
    ->computeCount($messages);
  $this->data['messages'] = $messages;
}