You are here

public function ChainExtractor::setPrefix in Plug 7

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

Parameters

string $prefix The prefix:

Overrides ExtractorInterface::setPrefix

File

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