You are here

public function TranslationDataCollector::getCountDefines in Plug 7

Return value

int

File

lib/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;
}