class ChainExtractor implements ExtractorInterface
ChainExtractor extracts translation messages from template files.
Methods
|
addExtractor(string $format, ExtractorInterface $extractor)
Adds a loader to the translation extractor. |
||
|
setPrefix(string $prefix)
Sets the prefix that should be used for new found messages. |
||
|
extract(string $directory, MessageCatalogue $catalogue)
Extracts translation messages from a template directory to the catalogue. |
Details
at line 36
public
addExtractor(string $format, ExtractorInterface $extractor)
Adds a loader to the translation extractor.
at line 44
public
setPrefix(string $prefix)
Sets the prefix that should be used for new found messages.
at line 54
public
extract(string $directory, MessageCatalogue $catalogue)
Extracts translation messages from a template directory to the catalogue.