You are here

public function ChainExtractor::setPrefix in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Extractor/ChainExtractor.php \Symfony\Component\Translation\Extractor\ChainExtractor::setPrefix()

Sets the prefix that should be used for new found messages.

Parameters

string $prefix The prefix:

Overrides ExtractorInterface::setPrefix

File

vendor/symfony/translation/Extractor/ChainExtractor.php, line 44

Class

ChainExtractor
ChainExtractor extracts translation messages from template files.

Namespace

Symfony\Component\Translation\Extractor

Code

public function setPrefix($prefix) {
  foreach ($this->extractors as $extractor) {
    $extractor
      ->setPrefix($prefix);
  }
}