You are here

public function TranslationWriter::getFormats in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Writer/TranslationWriter.php \Symfony\Component\Translation\Writer\TranslationWriter::getFormats()

Obtains the list of supported formats.

Return value

array

File

vendor/symfony/translation/Writer/TranslationWriter.php, line 57

Class

TranslationWriter
TranslationWriter writes translation messages.

Namespace

Symfony\Component\Translation\Writer

Code

public function getFormats() {
  return array_keys($this->dumpers);
}