You are here

public function TranslationDataCollector::getCountFallbacks 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::getCountFallbacks()

Return value

int

File

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

Class

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

Namespace

Symfony\Component\Translation\DataCollector

Code

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