public function ChainExtractor::addExtractor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Extractor/ChainExtractor.php \Symfony\Component\Translation\Extractor\ChainExtractor::addExtractor()
Adds a loader to the translation extractor.
Parameters
string $format The format of the loader:
ExtractorInterface $extractor The loader:
File
- vendor/
symfony/ translation/ Extractor/ ChainExtractor.php, line 36
Class
- ChainExtractor
- ChainExtractor extracts translation messages from template files.
Namespace
Symfony\Component\Translation\ExtractorCode
public function addExtractor($format, ExtractorInterface $extractor) {
$this->extractors[$format] = $extractor;
}