You are here

public function TranslationDataCollector::getCountDefines in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/DataCollector/TranslationDataCollector.php \Symfony\Component\Translation\DataCollector\TranslationDataCollector::getCountDefines()

Return value

int

File

vendor/symfony/translation/DataCollector/TranslationDataCollector.php, line 83

Class

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

Namespace

Symfony\Component\Translation\DataCollector

Code

public function getCountDefines() {
  return isset($this->data[DataCollectorTranslator::MESSAGE_DEFINED]) ? $this->data[DataCollectorTranslator::MESSAGE_DEFINED] : 0;
}