public function ChainExtractor::setPrefix in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\ExtractorCode
public function setPrefix($prefix) {
foreach ($this->extractors as $extractor) {
$extractor
->setPrefix($prefix);
}
}