public function TranslationDataCollector::lateCollect in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/DataCollector/TranslationDataCollector.php \Symfony\Component\Translation\DataCollector\TranslationDataCollector::lateCollect()
Collects data as late as possible.
Overrides LateDataCollectorInterface::lateCollect
File
- vendor/
symfony/ translation/ DataCollector/ TranslationDataCollector.php, line 41
Class
- TranslationDataCollector
- @author Abdellatif Ait boudad <a.aitboudad@gmail.com>
Namespace
Symfony\Component\Translation\DataCollectorCode
public function lateCollect() {
$messages = $this
->sanitizeCollectedMessages($this->translator
->getCollectedMessages());
$this->data = $this
->computeCount($messages);
$this->data['messages'] = $messages;
}